/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/ |
H A D | DoubleBufferTest.java | 562 method = "hashCode", 569 assertTrue(buf.hashCode() == readonly.hashCode()); 573 assertTrue(buf.hashCode() != duplicate.hashCode());
|
H A D | FloatBufferTest.java | 557 method = "hashCode", 564 assertTrue(buf.hashCode() == readonly.hashCode()); 568 assertTrue(buf.hashCode() != duplicate.hashCode());
|
H A D | IntBufferTest.java | 513 method = "hashCode", 520 assertTrue(buf.hashCode() == readonly.hashCode()); 524 assertTrue(buf.hashCode() != duplicate.hashCode());
|
H A D | LongBufferTest.java | 512 method = "hashCode", 519 assertTrue(buf.hashCode() == readonly.hashCode()); 523 assertTrue(buf.hashCode() != duplicate.hashCode());
|
H A D | ShortBufferTest.java | 506 method = "hashCode", 513 assertTrue(buf.hashCode() == readonly.hashCode()); 517 assertTrue(buf.hashCode() != duplicate.hashCode());
|
H A D | ByteBufferTest.java | 579 method = "hashCode", 587 assertTrue(buf.hashCode() == readonly.hashCode()); 590 assertTrue(buf.hashCode()!= duplicate.hashCode()); 607 assertEquals(buf.hashCode(),readonly.hashCode()); 609 assertTrue(buf.hashCode()!= duplicate.hashCode());
|
/dalvik/libcore/nio_char/src/test/java/tests/api/java/nio/charset/ |
H A D | CharsetTest.java | 858 * Test the method hashCode(). 863 method = "hashCode", 868 assertEquals(c1.hashCode(), "mock".hashCode()); 873 assertEquals(mockName.hashCode(), c1.hashCode());
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/ |
H A D | ASN1InputStream.java | 29 public int hashCode()
|
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | AccessController2Test.java | 284 public int hashCode() { method in class:AccessController2Test.RealPermission
|
/dalvik/libcore/security/src/test/java/tests/api/javax/security/auth/ |
H A D | X500PrincipalTest.java | 230 * @tests javax.security.auth.x500.X500Principal#hashCode() 235 method = "hashCode", 242 int res = xpr.hashCode();
|
H A D | SubjectTest.java | 651 * @tests javax.security.auth.Subject#hashCode() 656 method = "hashCode", 663 assertNotNull("Null returned", subj.hashCode()); 672 && "hashCode".equals(permission.getName())) { 681 subj.hashCode();
|
/dalvik/libcore/text/src/main/java/java/text/ |
H A D | Collator.java | 258 * @see #hashCode 365 public abstract int hashCode(); method in class:Collator
|
/dalvik/libcore/xml/src/main/java/javax/xml/datatype/ |
H A D | Duration.java | 871 * @see Object#hashCode() 873 public abstract int hashCode(); method in class:Duration
|
/dalvik/tests/044-proxy/src/ |
H A D | BasicTest.java | 233 else if (method.getName().equals("hashCode")) 234 return Integer.valueOf(super.hashCode());
|
H A D | WrappedThrow.java | 199 else if (method.getName().equals("hashCode")) 200 return Integer.valueOf(super.hashCode());
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ |
H A D | FloatTest.java | 282 * @tests java.lang.Float#hashCode() 287 method = "hashCode", 291 // Test for method int java.lang.Float.hashCode() 293 assertTrue("Returned invalid hash code for 1908.8786f", f.hashCode() == Float 297 assertTrue("Returned invalid hash code for -1.112", f.hashCode() == Float 301 assertTrue("Returned invalid hash code for 0", f.hashCode() == Float.floatToIntBits(0f)); 303 assertTrue(new Float(Float.MAX_VALUE).hashCode() != new Float(Float.MIN_VALUE).hashCode());
|
H A D | LongTest.java | 642 * @tests java.lang.Long#hashCode() 647 method = "hashCode", 651 assertEquals((int)(1L ^ (1L >>> 32)), new Long(1).hashCode()); 652 assertEquals((int)(2L ^ (2L >>> 32)), new Long(2).hashCode()); 653 assertEquals((int)(0L ^ (0L >>> 32)), new Long(0).hashCode()); 654 assertEquals((int)(-1L ^ (-1L >>> 32)), new Long(-1).hashCode());
|
/dalvik/libcore/luni/src/test/java/tests/api/java/util/ |
H A D | EnumMapTest.java | 63 public int hashCode() { method in class:EnumMapTest.MockEntry 64 return (key == null ? 0 : key.hashCode()) 65 ^ (value == null ? 0 : value.hashCode()); 581 assertEquals("Should be equal", mockEntry.hashCode(), entry.hashCode()); //$NON-NLS-1$
|
/dalvik/libcore/icu/src/main/java/com/ibm/icu4jni/text/ |
H A D | NativeDecimalFormat.java | 145 // TODO: remove this and just have DecimalFormat.hashCode do the right thing itself. 147 public int hashCode() { method in class:NativeDecimalFormat 148 return this.getPositivePrefix().hashCode();
|
/dalvik/libcore/luni/src/main/java/java/io/ |
H A D | File.java | 751 public int hashCode() { method in class:File 752 return getPath().hashCode() ^ 1234321;
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/ |
H A D | X509CertificateObject.java | 593 public int hashCode() method in class:X509CertificateObject 595 return c.hashCode();
|
/dalvik/libcore/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
H A D | ChoiceFormatTest.java | 389 * @tests java.text.ChoiceFormat#hashCode() 394 method = "hashCode", 398 // Test for method int java.text.ChoiceFormat.hashCode() 401 assertTrue("Different hash", f1.hashCode() == f2.hashCode());
|
/dalvik/dx/src/com/android/dx/rop/type/ |
H A D | StdTypeList.java | 265 hash = (hash * 31) + list.getType(i).hashCode();
|
/dalvik/libcore/luni/src/main/java/java/lang/ |
H A D | Integer.java | 351 public int hashCode() { method in class:Integer
|
/dalvik/libcore/luni/src/main/java/java/util/ |
H A D | LinkedHashMap.java | 247 int hash = key.hashCode();
|