Searched refs:hashCode (Results 351 - 375 of 389) sorted by relevance

<<111213141516

/dalvik/libcore/luni/src/test/java/tests/api/java/util/
H A DBitSetTest.java130 * @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 DGregorianCalendarTest.java888 method = "hashCode",
903 assertNotSame(g.hashCode(), g1.hashCode());
H A DPriorityQueueTest.java990 int hashcode1 = object1.hashCode();
991 int hashcode2 = object2.hashCode();
H A DSimpleTimeZoneTest.java423 * @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 DTreeMapTest.java488 public int hashCode() {
/dalvik/libcore/text/src/main/java/java/text/
H A DNumberFormat.java193 * @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 DDateFormatTest.java670 * @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 DCollatorTest.java511 public int hashCode() { method in class:CollatorTest.TestCollator
/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/
H A DCharInfo.java788 public final int hashCode() method in class:CharInfo.CharKey
/dalvik/libcore/luni/src/main/java/java/lang/
H A DCharacter.java569 * {@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 DLong.java289 public int hashCode() { method in class:Long
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
H A DString2Test.java727 * @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 DSystemTest.java668 .identityHashCode(o) == o.hashCode());
670 .identityHashCode(s) != s.hashCode());
H A DDoubleTest.java390 * @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 DDate.java229 * @see #hashCode
354 public int hashCode() { method in class:Date
H A DIdentityHashMap.java108 public int hashCode() { method in class:IdentityHashMap.IdentityHashMapEntry
H A DGregorianCalendar.java991 * @see #hashCode
1212 public int hashCode() { method in class:GregorianCalendar
1213 return super.hashCode()
H A DBitSet.java147 * @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 DSerializationStressTest2.java376 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 DCharBufferTest.java553 method = "hashCode",
561 assertTrue(buf.hashCode() == readonly.hashCode());
564 assertTrue(buf.hashCode() != duplicate.hashCode());
/dalvik/libcore/luni/src/main/java/java/net/
H A DURI.java1275 public int hashCode() { method in class:URI
1277 hash = getHashString().hashCode();
/dalvik/libcore/luni/src/test/java/tests/api/java/lang/reflect/
H A DMethodTest.java606 * @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 DFieldTest.java2129 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 DTimestampTest.java52 holiday.hashCode();
/dalvik/libcore/xml/src/main/java/org/apache/xml/utils/
H A DDOMHelper.java160 * 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();

Completed in 439 milliseconds

<<111213141516