/libcore/ojluni/src/main/java/java/util/ |
H A D | Collections.java | 1040 * The returned collection does <i>not</i> pass the hashCode and equals 1042 * <tt>Object</tt>'s <tt>equals</tt> and <tt>hashCode</tt> methods. This 1172 public int hashCode() {return c.hashCode();} method in class:Collections.UnmodifiableSet 1349 public int hashCode() {return list.hashCode();} method in class:Collections.UnmodifiableList 1534 public int hashCode() {return m.hashCode();} method in class:Collections.UnmodifiableMap 1795 public int hashCode() {return e.hashCode();} method in class:Collections.UnmodifiableMap.UnmodifiableEntrySet.UnmodifiableEntry 2183 public int hashCode() { method in class:Collections.SynchronizedSet 2456 public int hashCode() { method in class:Collections.SynchronizedList 2677 public int hashCode() { method in class:Collections.SynchronizedMap 3228 public int hashCode() {return c.hashCode();} method in class:Collections.CheckedQueue 3277 public int hashCode() { return c.hashCode(); } method in class:Collections.CheckedSet 3474 public int hashCode() { return list.hashCode(); } method in class:Collections.CheckedList 3661 public int hashCode() { return m.hashCode(); } method in class:Collections.CheckedMap 3786 public int hashCode() { return s.hashCode(); } method in class:Collections.CheckedMap.CheckedEntrySet 3935 public int hashCode() { return e.hashCode(); } method in class:Collections.CheckedMap.CheckedEntrySet.CheckedEntry 4509 public int hashCode() { return 1; } method in class:Collections.EmptyList 4635 public int hashCode() {return 0;} method in class:Collections.EmptyMap 5235 public int hashCode() { method in class:Collections.ReverseComparator2 5514 public int hashCode() { return s.hashCode(); } method in class:Collections.SetFromMap [all...] |
H A D | Map.java | 56 * advised: the {@code equals} and {@code hashCode} methods are no longer 102 * {@link Object#hashCode()} specification guarantees that two objects with 111 * {@code equals()}, {@code hashCode()} and {@code toString()} methods. 443 * (e.getKey()==null ? 0 : e.getKey().hashCode()) ^ 444 * (e.getValue()==null ? 0 : e.getValue().hashCode()) 447 * {@code e1.hashCode()==e2.hashCode()} for any two Entries 449 * contract of {@code Object.hashCode}. 452 * @see Object#hashCode() 456 int hashCode(); method in interface:Map.Entry 560 int hashCode(); method in interface:Map [all...] |
H A D | Arrays.java | 3831 * <tt>Arrays.hashCode(a) == Arrays.hashCode(b)</tt>. 3834 * obtained by invoking the {@link List#hashCode() <tt>hashCode</tt>} 3843 public static int hashCode(long a[]) { method in class:Arrays 3860 * <tt>Arrays.hashCode(a) == Arrays.hashCode(b)</tt>. 3863 * obtained by invoking the {@link List#hashCode() <tt>hashCode</tt>} 3872 public static int hashCode(in method in class:Arrays 3899 public static int hashCode(short a[]) { method in class:Arrays 3926 public static int hashCode(char a[]) { method in class:Arrays 3953 public static int hashCode(byte a[]) { method in class:Arrays 3980 public static int hashCode(boolean a[]) { method in class:Arrays 4007 public static int hashCode(float a[]) { method in class:Arrays 4034 public static int hashCode(double a[]) { method in class:Arrays 4067 public static int hashCode(Object a[]) { method in class:Arrays [all...] |
/libcore/ojluni/src/main/java/java/util/zip/ |
H A D | ZipEntry.java | 622 public int hashCode() { method in class:ZipEntry 623 return name.hashCode();
|
/libcore/ojluni/src/main/java/javax/security/auth/ |
H A D | Subject.java | 906 public int hashCode() { method in class:Subject 913 * ({@code credential.hashCode()} throws an 916 * {@code credential.getClass().toString().hashCode()}. 919 int hashCode = 0; 925 hashCode ^= p.hashCode(); 932 hashCode ^= getCredHashCode(pubCIterator.next()); 935 return hashCode; 943 return o.hashCode(); 945 return o.getClass().toString().hashCode(); [all...] |
/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | Util.java | 242 public int hashCode() { return s.hashCode(); }
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
H A D | UnixFileStore.java | 193 public int hashCode() { method in class:UnixFileStore 194 return (int)(dev ^ (dev >>> 32)) ^ Arrays.hashCode(entry.dir());
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
H A D | CRLExtensions.java | 284 public int hashCode() { method in class:CRLExtensions 285 return map.hashCode();
|
H A D | GeneralSubtrees.java | 164 public int hashCode() { method in class:GeneralSubtrees 165 return trees.hashCode();
|
/libcore/ojluni/src/main/java/sun/util/locale/ |
H A D | LocaleExtensions.java | 228 public int hashCode() { method in class:LocaleExtensions 229 return id.hashCode();
|
/libcore/ojluni/src/test/java/time/test/java/time/temporal/ |
H A D | TestDateTimeValueRange.java | 258 // equals() / hashCode() 267 assertEquals(a.hashCode() == b.hashCode(), true);
|
/libcore/luni/src/main/java/java/math/ |
H A D | BigInteger.java | 92 private transient int hashCode = 0; field in class:BigInteger 827 public int hashCode() { method in class:BigInteger 828 if (hashCode == 0) { 834 hashCode = hash * sign; 836 return hashCode;
|
H A D | BigDecimal.java | 113 private transient int hashCode = 0; field in class:BigDecimal 2170 public int hashCode() { method in class:BigDecimal 2171 if (hashCode != 0) { 2172 return hashCode; 2175 hashCode = (int)(smallValue & 0xffffffff); 2176 hashCode = 33 * hashCode + (int)((smallValue >> 32) & 0xffffffff); 2177 hashCode = 17 * hashCode + scale; 2178 return hashCode; [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
H A D | HttpCookieTest.java | 518 * java.net.HttpCookie#hashCode() 523 assertEquals(-1052814577, cookie.hashCode()); 526 assertEquals(1222695220, cookie.hashCode()); 529 assertEquals(-675006347, cookie.hashCode()); 531 assertEquals(989616181, cookie.hashCode()); 534 assertEquals(989616181, cookie.hashCode()); 536 assertEquals(989616181, cookie.hashCode()); 539 assertEquals(-1285893616, cookie.hashCode());
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | IdentityHashMapTest.java | 794 assertEquals(0, hashMap.hashCode()); 797 assertEquals(0, hashMap.hashCode()); 798 assertTrue(0 != cloneHashMap.hashCode()); 803 assertEquals(0, hashMap.hashCode()); 810 assertTrue(0 != hashMap.hashCode()); 811 assertEquals(0, cloneHashMap.hashCode()); 816 assertEquals(0, hashMap.hashCode()); 823 assertEquals(hashMap.hashCode(), cloneHashMap.hashCode());
|
H A D | RefSortedMap.java | 65 public int hashCode() { method in class:RefSortedMap.MapEntry 66 return (getKey() == null ? 0 : getKey().hashCode()) 67 ^ (getValue() == null ? 0 : getValue().hashCode());
|
H A D | UUIDTest.java | 204 * @see UUID#hashCode() 208 assertEquals(0, uuid.hashCode()); 211 assertEquals(uuid.hashCode(), uuidClone.hashCode());
|
/libcore/ojluni/src/main/java/java/lang/ |
H A D | Integer.java | 981 public int hashCode() { method in class:Integer 982 return Integer.hashCode(value); 987 * {@code Integer.hashCode()}. 994 public static int hashCode(int value) { method in class:Integer
|
/libcore/ojluni/src/main/java/java/net/ |
H A D | Inet6Address.java | 297 public int hashCode() { method in class:Inet6Address.Inet6AddressHolder 908 public int hashCode() { method in class:Inet6Address 909 return holder6.hashCode();
|
/libcore/ojluni/src/main/java/java/time/ |
H A D | OffsetTime.java | 1347 public int hashCode() { method in class:OffsetTime 1348 return time.hashCode() ^ offset.hashCode();
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
H A D | ChronoLocalDateTimeImpl.java | 450 public int hashCode() { method in class:ChronoLocalDateTimeImpl 451 return toLocalDate().hashCode() ^ toLocalTime().hashCode();
|
H A D | JapaneseDate.java | 712 public int hashCode() { method in class:JapaneseDate 713 return getChronology().getId().hashCode() ^ isoDate.hashCode();
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
H A D | TCKInstant.java | 167 assertEquals(instant.hashCode(), instant.hashCode()); 2060 // hashCode() 2069 assertEquals(test5a.hashCode() == test5a.hashCode(), true); 2070 assertEquals(test5a.hashCode() == test5b.hashCode(), true); 2071 assertEquals(test5b.hashCode() == test5b.hashCode(), true); 2073 assertEquals(test5a.hashCode() [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
H A D | DoubleBufferTest.java | 401 assertTrue(buf.hashCode() == readonly.hashCode()); 405 assertTrue(buf.hashCode() != duplicate.hashCode());
|
H A D | FloatBufferTest.java | 399 assertTrue(buf.hashCode() == readonly.hashCode()); 403 assertTrue(buf.hashCode() != duplicate.hashCode());
|