Searched refs:hashCode (Results 251 - 275 of 389) sorted by relevance

<<111213141516

/dalvik/dx/src/com/android/dx/rop/code/
H A DRegisterSpecSet.java87 public int hashCode() { method in class:RegisterSpecSet
93 int oneHash = (spec == null) ? 0 : spec.hashCode();
/dalvik/dx/src/com/android/dx/rop/type/
H A DPrototype.java252 public int hashCode() { method in class:Prototype
253 return descriptor.hashCode();
/dalvik/libcore/archive/src/main/java/java/util/zip/
H A DZipEntry.java336 public int hashCode() { method in class:ZipEntry
337 return name.hashCode();
/dalvik/libcore/awt-kernel/src/main/java/java/awt/font/
H A DNumericShaper.java525 public int hashCode() { method in class:NumericShaper
532 return hash.hashCode();
/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
H A DRC5ParameterSpecTest.java310 * hashCode() method testing. Tests that for equal objects hash codes
316 method = "hashCode",
330 ps1.hashCode() == ps2.hashCode());
H A DSecretKeySpecTest.java251 * hashCode() method testing. Tests that for equal objects hash codes
257 method = "hashCode",
267 ks1.hashCode() == ks2.hashCode());
/dalvik/libcore/luni/src/main/java/java/util/
H A DAbstractMap.java122 * @see #hashCode()
195 public int hashCode() { method in class:AbstractMap
199 result += it.next().hashCode();
H A DSimpleTimeZone.java367 * @see #hashCode
558 public synchronized int hashCode() { method in class:SimpleTimeZone
559 int hashCode = getID().hashCode() + rawOffset;
561 hashCode += startYear + startMonth + startDay + startDayOfWeek
565 return hashCode;
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
H A DObjectInputStreamTest.java204 public int hashCode() { method in class:ObjectInputStreamTest.LongString
205 return lString.hashCode();
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
H A DBooleanTest.java30 * @tests java.lang.Boolean#hashCode()
35 method = "hashCode",
39 assertEquals(1231, Boolean.TRUE.hashCode());
40 assertEquals(1237, Boolean.FALSE.hashCode());
H A DByteTest.java52 * @tests java.lang.Byte#hashCode()
57 method = "hashCode",
61 assertEquals(1, new Byte((byte) 1).hashCode());
62 assertEquals(2, new Byte((byte) 2).hashCode());
63 assertEquals(0, new Byte((byte) 0).hashCode());
64 assertEquals(-1, new Byte((byte) -1).hashCode());
678 * @tests java.lang.Byte#hashCode()
683 method = "hashCode",
687 // Test for method int java.lang.Byte.hashCode()
688 assertEquals("Incorrect hash returned", 127, new Byte((byte) 127).hashCode());
[all...]
/dalvik/libcore/luni/src/test/java/tests/api/java/util/
H A DVectorTest.java724 * @tests java.util.Vector#hashCode()
729 method = "hashCode",
733 // Test for method int java.util.Vector.hashCode()
734 int hashCode = 1; // one
738 hashCode = 31 * hashCode + (obj == null ? 0 : obj.hashCode());
740 assertTrue("Incorrect hashCode returned. Wanted: " + hashCode
741 + " got: " + tVector.hashCode(), tVecto
[all...]
/dalvik/libcore/luni-kernel/src/main/java/java/lang/reflect/
H A DConstructor.java285 * @see #hashCode
392 public int hashCode() { method in class:Constructor
393 return declaringClass.getName().hashCode();
H A DMethod.java353 * @see #hashCode
454 public int hashCode() { method in class:Method
455 return name.hashCode();
H A DField.java210 * @see #hashCode
545 public int hashCode() { method in class:Field
547 return name.hashCode() ^ getDeclaringClass().getName().hashCode();
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/
H A DExtensions.java389 public int hashCode() { method in class:Extensions
392 hashcode = extensions.hashCode();
/dalvik/libcore/security/src/test/java/tests/security/cert/
H A DX509CRLTest.java258 * hashCode() method testing. Tests that for equal objects hash codes
264 method = "hashCode",
274 tbt_crl.hashCode() == tbt_crl_1.hashCode());
/dalvik/libcore/xml/src/main/java/org/apache/xml/dtm/ref/
H A DExpandedNameTable.java187 int hash = type + namespace.hashCode() + localName.hashCode();
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/x509/
H A DX509Name.java1001 public int hashCode() method in class:X509Name
1005 int hashCode = 0;
1009 hashCode ^= e.nextElement().hashCode();
1012 return hashCode;
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/
H A DCodeSourceTest.java136 * Tests hashCode().<br>
142 method = "hashCode",
146 // when nothing is specified, then hashCode obviously must be 0.
147 assertTrue(new CodeSource(null, (Certificate[]) null).hashCode() == 0);
148 // only URL.hashCode is taken into account...
149 assertTrue(new CodeSource(urlSite, (Certificate[]) null).hashCode() == urlSite
150 .hashCode());
152 assertTrue(new CodeSource(urlSite, chain).hashCode() == urlSite
153 .hashCode());
/dalvik/libcore/math/src/main/java/java/math/
H A DBigDecimal.java134 private transient int hashCode = 0; field in class:BigDecimal
2291 public int hashCode() { method in class:BigDecimal
2292 if (hashCode != 0) {
2293 return hashCode;
2296 hashCode = (int)(smallValue & 0xffffffff);
2297 hashCode = 33 * hashCode + (int)((smallValue >> 32) & 0xffffffff);
2298 hashCode = 17 * hashCode + scale;
2299 return hashCode;
[all...]
/dalvik/libcore/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
H A DZipEntryTest.java558 assertTrue("hashCode()", obj.hashCode() == zentry.hashCode());
579 method = "hashCode",
584 zentry.hashCode();
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/
H A DUUIDTest.java264 * @see UUID#hashCode()
269 method = "hashCode",
274 assertEquals(0, uuid.hashCode());
277 assertEquals(uuid.hashCode(), uuidClone.hashCode());
/dalvik/dx/src/com/android/dx/util/
H A DIntList.java99 public int hashCode() { method in class:IntList
/dalvik/libcore/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
H A DManifestTest.java275 method = "hashCode",
282 assertEquals(manifest1.hashCode(), manifest1.hashCode());
283 assertNotSame(manifest1.hashCode(), manifest2.hashCode());

Completed in 383 milliseconds

<<111213141516