/libcore/ojluni/src/main/java/java/util/ |
H A D | OptionalLong.java | 225 public int hashCode() { method in class:OptionalLong 226 return isPresent ? Long.hashCode(value) : 0;
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
H A D | SNIServerName.java | 141 public int hashCode() { method in class:SNIServerName 144 result = 31 * result + Arrays.hashCode(encoded);
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
H A D | GeneralNames.java | 142 public int hashCode() { method in class:GeneralNames 143 return names.hashCode();
|
H A D | OIDName.java | 131 public int hashCode() { method in class:OIDName 132 return oid.hashCode();
|
H A D | DistributionPoint.java | 139 // cached hashCode value 140 private volatile int hashCode; field in class:DistributionPoint 343 public int hashCode() { method in class:DistributionPoint 344 int hash = hashCode; 348 hash += fullName.hashCode(); 351 hash += relativeName.hashCode(); 354 hash += crlIssuer.hashCode(); 363 hashCode = hash;
|
H A D | EDIPartyName.java | 198 public int hashCode() { method in class:EDIPartyName 200 myhash = 37 + (party == null ? 1 : party.hashCode()); 202 myhash = 37 * myhash + assigner.hashCode();
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
H A D | TCKClock_Tick.java | 232 assertEquals(a.hashCode(), a.hashCode()); 233 assertEquals(a.hashCode(), b.hashCode()); 236 assertEquals(a.hashCode() == c.hashCode(), false); 239 assertEquals(a.hashCode() == d.hashCode(), false);
|
/libcore/ojluni/src/main/java/sun/security/util/ |
H A D | BitArray.java | 204 public int hashCode() { method in class:BitArray 205 int hashCode = 0; 208 hashCode = 31*hashCode + repn[i]; 210 return hashCode ^ length;
|
/libcore/luni/src/test/java/tests/security/cert/ |
H A D | CertificateTest.java | 73 * Test for <code>hashCode()</code> method<br> 81 assertTrue(c1.hashCode() == c2.hashCode()); 83 assertFalse(c1.hashCode() == new MyCertificate("TEST_TYPE", cert 84 .getEncoded()).hashCode()); 85 assertFalse(c1.hashCode() == cert.hashCode()); 89 * Test for <code>hashCode()</code> method<br> 96 assertTrue((c1.hashCode() == c2.hashCode()) [all...] |
/libcore/luni/src/main/java/javax/xml/namespace/ |
H A D | QName.java | 45 * QName.equals(Object)} or to compute the {@link #hashCode() 46 * QName.hashCode()}. Equality and the hash code are defined using 334 * java.lang.Object#hashCode() Object.hashCode()}.</p> 338 public final int hashCode() { method in class:QName 339 return namespaceURI.hashCode() ^ localPart.hashCode();
|
/libcore/luni/src/main/java/libcore/reflect/ |
H A D | TypeVariableImpl.java | 46 public int hashCode() { method in class:TypeVariableImpl 47 return 31 * getName().hashCode() + getGenericDeclaration().hashCode();
|
/libcore/ojluni/src/main/java/java/lang/ |
H A D | Byte.java | 393 public int hashCode() { method in class:Byte 394 return Byte.hashCode(value); 399 * {@code Byte.hashCode()}. 405 public static int hashCode(byte value) { method in class:Byte
|
H A D | Short.java | 398 public int hashCode() { method in class:Short 399 return Short.hashCode(value); 404 * {@code Short.hashCode()}. 410 public static int hashCode(short value) { method in class:Short
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | SocketOptionRegistry.java | 44 public int hashCode() { method in class:SocketOptionRegistry.RegistryKey 45 return name.hashCode() + family.hashCode();
|
/libcore/luni/src/main/java/android/system/ |
H A D | StructTimespec.java | 69 public int hashCode() { method in class:StructTimespec
|
/libcore/luni/src/test/java/libcore/java/lang/ |
H A D | OldStackTraceElementTest.java | 173 ste1.hashCode(), ste2.hashCode()); 175 ste1.hashCode() == e.getStackTrace()[1].hashCode());
|
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | InetSocketAddressTest.java | 133 assertTrue(isa1.hashCode() == isa2.hashCode()); 136 assertFalse(isa1.hashCode() == isa3.hashCode());
|
/libcore/luni/src/test/java/libcore/java/util/ |
H A D | ObjectsTest.java | 66 assertEquals(Arrays.hashCode(new Object[0]), Objects.hash()); 75 assertEquals(h.hashCode(), Objects.hashCode(h)); 76 assertEquals(0, Objects.hashCode(null));
|
/libcore/ojluni/src/main/java/java/time/zone/ |
H A D | ZoneOffsetTransition.java | 431 public int hashCode() { method in class:ZoneOffsetTransition 432 return transition.hashCode() ^ offsetBefore.hashCode() ^ Integer.rotateLeft(offsetAfter.hashCode(), 16);
|
/libcore/support/src/test/java/libcore/tlswire/handshake/ |
H A D | CompressionMethod.java | 52 public int hashCode() { method in class:CompressionMethod
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
H A D | ReadOnlyDoubleBufferTest.java | 51 assertEquals(buf.hashCode(), duplicate.hashCode());
|
H A D | ReadOnlyFloatBufferTest.java | 51 assertEquals(buf.hashCode(), duplicate.hashCode());
|
H A D | ReadOnlyIntBufferTest.java | 51 assertEquals(buf.hashCode(), duplicate.hashCode());
|
H A D | ReadOnlyLongBufferTest.java | 51 assertEquals(buf.hashCode(), duplicate.hashCode());
|
H A D | ReadOnlyShortBufferTest.java | 51 assertEquals(buf.hashCode(), duplicate.hashCode());
|