Searched refs:hashCode (Results 76 - 100 of 444) sorted by relevance

1234567891011>>

/libcore/ojluni/src/main/java/java/util/
H A DOptionalLong.java225 public int hashCode() { method in class:OptionalLong
226 return isPresent ? Long.hashCode(value) : 0;
/libcore/ojluni/src/main/java/javax/net/ssl/
H A DSNIServerName.java141 public int hashCode() { method in class:SNIServerName
144 result = 31 * result + Arrays.hashCode(encoded);
/libcore/ojluni/src/main/java/sun/security/x509/
H A DGeneralNames.java142 public int hashCode() { method in class:GeneralNames
143 return names.hashCode();
H A DOIDName.java131 public int hashCode() { method in class:OIDName
132 return oid.hashCode();
H A DDistributionPoint.java139 // 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 DEDIPartyName.java198 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 DTCKClock_Tick.java232 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 DBitArray.java204 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 DCertificateTest.java73 * 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 DQName.java45 * 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 DTypeVariableImpl.java46 public int hashCode() { method in class:TypeVariableImpl
47 return 31 * getName().hashCode() + getGenericDeclaration().hashCode();
/libcore/ojluni/src/main/java/java/lang/
H A DByte.java393 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 DShort.java398 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 DSocketOptionRegistry.java44 public int hashCode() { method in class:SocketOptionRegistry.RegistryKey
45 return name.hashCode() + family.hashCode();
/libcore/luni/src/main/java/android/system/
H A DStructTimespec.java69 public int hashCode() { method in class:StructTimespec
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldStackTraceElementTest.java173 ste1.hashCode(), ste2.hashCode());
175 ste1.hashCode() == e.getStackTrace()[1].hashCode());
/libcore/luni/src/test/java/libcore/java/net/
H A DInetSocketAddressTest.java133 assertTrue(isa1.hashCode() == isa2.hashCode());
136 assertFalse(isa1.hashCode() == isa3.hashCode());
/libcore/luni/src/test/java/libcore/java/util/
H A DObjectsTest.java66 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 DZoneOffsetTransition.java431 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 DCompressionMethod.java52 public int hashCode() { method in class:CompressionMethod
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
H A DReadOnlyDoubleBufferTest.java51 assertEquals(buf.hashCode(), duplicate.hashCode());
H A DReadOnlyFloatBufferTest.java51 assertEquals(buf.hashCode(), duplicate.hashCode());
H A DReadOnlyIntBufferTest.java51 assertEquals(buf.hashCode(), duplicate.hashCode());
H A DReadOnlyLongBufferTest.java51 assertEquals(buf.hashCode(), duplicate.hashCode());
H A DReadOnlyShortBufferTest.java51 assertEquals(buf.hashCode(), duplicate.hashCode());

Completed in 521 milliseconds

1234567891011>>