/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/ |
H A D | CopyOnWriteArrayList.java | 295 public int hashCode() { method in class:CopyOnWriteArrayList 296 int hashCode = 1; 300 hashCode = 31 * hashCode + (obj == null ? 0 : obj.hashCode()); 302 return hashCode;
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
H A D | Inet6AddressTest.java | 1234 method = "hashCode", 1240 assertFalse(addr1.hashCode() == addr2.hashCode()); 1243 assertTrue(addr1.hashCode() == addr2.hashCode()); 1247 assertTrue(addr1.hashCode() == addr2.hashCode());
|
H A D | InetAddressTest.java | 474 * @tests java.net.InetAddress#hashCode() 479 method = "hashCode", 487 fail("Exception during hashCode test : " + e.getMessage()); 489 return host.hashCode(); 493 int hashCode = getHashCode(Support_Configuration.InetTestIP); 496 assertFalse("Hash collision", hashCode == ip6HashCode); 498 assertFalse("Hash collision", hashCode == ip6LOHashCode);
|
H A D | URLTest.java | 162 * Test method for {@link java.net.URL#hashCode()}. 167 method = "hashCode", 175 assertEquals("Assert 0: error in hashCode: not same", 176 testURL1.hashCode(), testURL2.hashCode()); 177 assertFalse("Assert 0: error in hashCode: should be same", testURL1 178 .hashCode() == changedURL.hashCode());
|
/dalvik/libcore/luni/src/main/java/java/lang/ |
H A D | String.java | 104 private int hashCode; field in class:String 830 * @see #hashCode 840 int hashCode1 = hashCode; 841 int hashCode2 = s.hashCode; 1022 public int hashCode() { method in class:String 1024 int hash = hashCode; 1035 hashCode = hash; 1846 s.hashCode = value;
|
/dalvik/libcore/luni/src/main/java/java/util/ |
H A D | EnumMap.java | 83 public int hashCode() { method in class:EnumMap.Entry 85 .hashCode()) 87 : enumMap.values[ordinal].hashCode()); 546 * @see #hashCode()
|
H A D | Vector.java | 387 * @see #hashCode 500 public synchronized int hashCode() { method in class:Vector 504 + (elementData[i] == null ? 0 : elementData[i].hashCode());
|
H A D | UUID.java | 421 public int hashCode() { method in class:UUID
|
/dalvik/libcore/luni/src/test/java/tests/api/java/util/ |
H A D | HashtableTest.java | 469 * @tests java.util.Hashtable#hashCode() 474 method = "hashCode", 478 // Test for method int java.util.Hashtable.hashCode() 483 .next().hashCode()) 485 assertTrue("Incorrect hashCode returned. Wanted: " + expectedHash 486 + " got: " + ht10.hashCode(), expectedHash == ht10.hashCode());
|
H A D | DateTest.java | 423 * @tests java.util.Date#hashCode() 428 method = "hashCode", 432 // Test for method int java.util.Date.hashCode() 435 assertEquals("Returned incorrect hash", 1900000, d2.hashCode()); 436 assertEquals("Returned incorrect hash", 0, d1.hashCode());
|
H A D | LocaleTest.java | 620 method = "hashCode", 627 assertTrue(l1.hashCode() != l2.hashCode());
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ |
H A D | IntegerTest.java | 345 * @tests java.lang.Integer#hashCode() 350 method = "hashCode", 354 // Test for method int java.lang.Integer.hashCode() 358 assertTrue("Returned incorrect hashcode", i1.hashCode() == 1000 359 && (i2.hashCode() == -1000)); 844 * @tests java.lang.Integer#hashCode() 849 method = "hashCode", 853 assertEquals(1, new Integer(1).hashCode()); 854 assertEquals(2, new Integer(2).hashCode()); 855 assertEquals(0, new Integer(0).hashCode()); [all...] |
/dalvik/libcore/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
H A D | SimpleDateFormatTest.java | 403 * @tests java.text.SimpleDateFormat#hashCode() 408 method = "hashCode", 414 assertTrue("clone has not equal hash code", clone.hashCode() == format 415 .hashCode()); 418 .hashCode() == format.hashCode()); 422 assertFalse("objects has equal hash code", format2.hashCode() == format 423 .hashCode());
|
/dalvik/libcore/icu/src/main/native/ |
H A D | NativeCollation.cpp | 300 static jint hashCode(JNIEnv *env, jclass obj, jint address) { function 557 { "hashCode", "(I)I", (void*) hashCode },
|
/dalvik/libcore/luni/src/main/java/java/net/ |
H A D | InetAddress.java | 469 public int hashCode() { method in class:InetAddress 471 return Arrays.hashCode(ipaddress);
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/ |
H A D | AbstractMapTest.java | 453 method = "hashCode", 461 assertNotSame(amt1.hashCode(), amt2.hashCode());
|
/dalvik/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
H A D | ConstructorTest.java | 196 * @tests java.lang.reflect.Constructor#hashCode() 201 method = "hashCode", 208 "The constructor's hashCode is not equal to the hashCode of the name of the declaring class", 209 ConstructorTestHelper.class.getName().hashCode(), constructor 210 .hashCode());
|
/dalvik/libcore/nio_char/src/main/java/java/nio/charset/ |
H A D | Charset.java | 788 public final int hashCode() { method in class:Charset 789 return this.canonicalName.hashCode();
|
/dalvik/libcore/security/src/main/java/java/security/ |
H A D | CodeSource.java | 311 * {@link Object#hashCode}. 318 public int hashCode() { method in class:CodeSource 320 // hashCode() is undocumented there. Should we also use certs[i] to 323 return location == null ? 0 : location.hashCode();
|
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | Identity2Test.java | 508 * @tests java.security.Identity#hashCode() 513 method = "hashCode", 519 assertEquals("The 2 hash codes are not equal", sub.hashCode(), sub2 520 .hashCode());
|
/dalvik/libcore/text/src/main/java/java/text/ |
H A D | DecimalFormat.java | 673 * @see #hashCode 814 public int hashCode() { method in class:DecimalFormat 815 return dform.hashCode();
|
/dalvik/dx/src/com/android/dx/rop/code/ |
H A D | Insn.java | 92 public final int hashCode() { method in class:Insn
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/platform/ |
H A D | PlatformAddress.java | 99 public final int hashCode() { method in class:PlatformAddress
|
/dalvik/libcore/nio/src/main/java/java/nio/ |
H A D | ByteBuffer.java | 652 public int hashCode() { method in class:ByteBuffer
|
H A D | CharBuffer.java | 424 public int hashCode() { method in class:CharBuffer
|