/dalvik/libcore/luni/src/test/java/tests/api/java/util/ |
H A D | BitSetTest.java | 130 * @tests java.util.BitSet#hashCode() 135 method = "hashCode", 139 // Test for method int java.util.BitSet.hashCode() 143 assertTrue("BitSet returns wrong hash value: " + bs.hashCode(), bs 144 .hashCode() == 1129); 147 assertTrue("BitSet returns wrong hash value: " + bs.hashCode(), bs 148 .hashCode() == 97);
|
H A D | GregorianCalendarTest.java | 888 method = "hashCode", 903 assertNotSame(g.hashCode(), g1.hashCode());
|
H A D | PriorityQueueTest.java | 990 int hashcode1 = object1.hashCode(); 991 int hashcode2 = object2.hashCode();
|
H A D | SimpleTimeZoneTest.java | 423 * @tests java.util.SimpleTimeZone#hashCode() 428 method = "hashCode", 432 // Test for method int java.util.SimpleTimeZone.hashCode() 437 assertTrue(TimeZone.getTimeZone("EST").hashCode() != 0); 438 assertTrue(st1.hashCode() != 0);
|
H A D | TreeMapTest.java | 488 public int hashCode() {
|
/dalvik/libcore/text/src/main/java/java/text/ |
H A D | NumberFormat.java | 193 * @see #hashCode 514 public int hashCode() { method in class:NumberFormat
|
/dalvik/libcore/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
H A D | DateFormatTest.java | 670 * @tests java.text.DateFormat#hashCode() Test of method 671 * java.text.DateFormat#hashCode(). 676 method = "hashCode", 684 df1.hashCode() == df2.hashCode()); 686 .hashCode() != DateFormat.getDateInstance().hashCode());
|
H A D | CollatorTest.java | 511 public int hashCode() { method in class:CollatorTest.TestCollator
|
/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/ |
H A D | CharInfo.java | 788 public final int hashCode() method in class:CharInfo.CharKey
|
/dalvik/libcore/luni/src/main/java/java/lang/ |
H A D | Character.java | 569 * {@link java.lang.Object#hashCode()}. 572 public final int hashCode() { method in class:Character.Subset 573 return super.hashCode(); 2497 public int hashCode() { method in class:Character
|
H A D | Long.java | 289 public int hashCode() { method in class:Long
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ |
H A D | String2Test.java | 727 * @tests java.lang.String#hashCode() 732 method = "hashCode", 736 // Test for method int java.lang.String.hashCode() 745 + String.valueOf(hw1.hashCode()) + " but wanted: " 746 + String.valueOf(hwHashCode), hw1.hashCode() == hwHashCode); 748 .hashCode());
|
H A D | SystemTest.java | 668 .identityHashCode(o) == o.hashCode()); 670 .identityHashCode(s) != s.hashCode());
|
H A D | DoubleTest.java | 390 * @tests java.lang.Double#hashCode() 395 method = "hashCode", 399 // Test for method int java.lang.Double.hashCode() 407 assertTrue("Invalid hash for equal but not identical doubles ", d.hashCode() == dd 408 .hashCode()); 410 assertEquals("Magic assumption hasCode (0.0) = 0 failed", 0, new Double(0.0).hashCode());
|
/dalvik/libcore/luni/src/main/java/java/util/ |
H A D | Date.java | 229 * @see #hashCode 354 public int hashCode() { method in class:Date
|
H A D | IdentityHashMap.java | 108 public int hashCode() { method in class:IdentityHashMap.IdentityHashMapEntry
|
H A D | GregorianCalendar.java | 991 * @see #hashCode 1212 public int hashCode() { method in class:GregorianCalendar 1213 return super.hashCode()
|
H A D | BitSet.java | 147 * @see #hashCode 206 * the have to return the same result for {@code hashCode()}. 214 public int hashCode() { method in class:BitSet
|
/dalvik/libcore/luni/src/test/java/tests/api/java/io/ |
H A D | SerializationStressTest2.java | 376 public int hashCode() { method in class:SerializationStressTest2.HashCodeTest 378 return super.hashCode(); 798 public int hashCode() { method in class:SerializationStressTest2.SyntheticFieldTest 806 return super.hashCode();
|
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/ |
H A D | CharBufferTest.java | 553 method = "hashCode", 561 assertTrue(buf.hashCode() == readonly.hashCode()); 564 assertTrue(buf.hashCode() != duplicate.hashCode());
|
/dalvik/libcore/luni/src/main/java/java/net/ |
H A D | URI.java | 1275 public int hashCode() { method in class:URI 1277 hash = getHashString().hashCode();
|
/dalvik/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
H A D | MethodTest.java | 606 * @tests java.lang.reflect.Method#hashCode() 611 method = "hashCode", 618 assertEquals("Methods with same name did not return same hashCode.", 619 mth0.hashCode(), mth1.hashCode());
|
H A D | FieldTest.java | 2129 method = "hashCode", 2134 assertEquals("Wrong hashCode returned", field.getName().hashCode() 2135 ^ field.getDeclaringClass().getName().hashCode(), field 2136 .hashCode());
|
/dalvik/libcore/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
H A D | TimestampTest.java | 52 holiday.hashCode();
|
/dalvik/libcore/xml/src/main/java/org/apache/xml/utils/ |
H A D | DOMHelper.java | 160 * Warning: The base implementation uses the Node object's hashCode(), 164 * your DOM uses a different definition of hashCode (eg hashing the 183 return "N" + Integer.toHexString(node.hashCode()).toUpperCase();
|