Searched refs:hashCode (Results 326 - 350 of 389) sorted by relevance

<<111213141516

/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/
H A DDoubleBufferTest.java562 method = "hashCode",
569 assertTrue(buf.hashCode() == readonly.hashCode());
573 assertTrue(buf.hashCode() != duplicate.hashCode());
H A DFloatBufferTest.java557 method = "hashCode",
564 assertTrue(buf.hashCode() == readonly.hashCode());
568 assertTrue(buf.hashCode() != duplicate.hashCode());
H A DIntBufferTest.java513 method = "hashCode",
520 assertTrue(buf.hashCode() == readonly.hashCode());
524 assertTrue(buf.hashCode() != duplicate.hashCode());
H A DLongBufferTest.java512 method = "hashCode",
519 assertTrue(buf.hashCode() == readonly.hashCode());
523 assertTrue(buf.hashCode() != duplicate.hashCode());
H A DShortBufferTest.java506 method = "hashCode",
513 assertTrue(buf.hashCode() == readonly.hashCode());
517 assertTrue(buf.hashCode() != duplicate.hashCode());
H A DByteBufferTest.java579 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 DCharsetTest.java858 * 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 DASN1InputStream.java29 public int hashCode()
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/
H A DAccessController2Test.java284 public int hashCode() { method in class:AccessController2Test.RealPermission
/dalvik/libcore/security/src/test/java/tests/api/javax/security/auth/
H A DX500PrincipalTest.java230 * @tests javax.security.auth.x500.X500Principal#hashCode()
235 method = "hashCode",
242 int res = xpr.hashCode();
H A DSubjectTest.java651 * @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 DCollator.java258 * @see #hashCode
365 public abstract int hashCode(); method in class:Collator
/dalvik/libcore/xml/src/main/java/javax/xml/datatype/
H A DDuration.java871 * @see Object#hashCode()
873 public abstract int hashCode(); method in class:Duration
/dalvik/tests/044-proxy/src/
H A DBasicTest.java233 else if (method.getName().equals("hashCode"))
234 return Integer.valueOf(super.hashCode());
H A DWrappedThrow.java199 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 DFloatTest.java282 * @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 DLongTest.java642 * @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 DEnumMapTest.java63 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 DNativeDecimalFormat.java145 // 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 DFile.java751 public int hashCode() { method in class:File
752 return getPath().hashCode() ^ 1234321;
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/
H A DX509CertificateObject.java593 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 DChoiceFormatTest.java389 * @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 DStdTypeList.java265 hash = (hash * 31) + list.getType(i).hashCode();
/dalvik/libcore/luni/src/main/java/java/lang/
H A DInteger.java351 public int hashCode() { method in class:Integer
/dalvik/libcore/luni/src/main/java/java/util/
H A DLinkedHashMap.java247 int hash = key.hashCode();

Completed in 894 milliseconds

<<111213141516