Searched defs:hashCode (Results 101 - 125 of 141) sorted by relevance

123456

/libcore/luni/src/main/java/java/util/
H A DEnumMap.java86 public int hashCode() { method in class:EnumMap.Entry
88 .hashCode())
90 : enumMap.values[ordinal].hashCode());
553 * @see #hashCode()
H A DLocale.java551 public synchronized int hashCode() { method in class:Locale
552 return countryCode.hashCode() + languageCode.hashCode()
553 + variantCode.hashCode();
H A DVector.java386 * @see #hashCode
499 public synchronized int hashCode() { method in class:Vector
503 + (elementData[i] == null ? 0 : elementData[i].hashCode());
H A DWeakHashMap.java73 hash = isNull ? 0 : key.hashCode();
105 public int hashCode() { method in class:WeakHashMap.Entry
106 return hash + (value == null ? 0 : value.hashCode());
475 int index = (key.hashCode() & 0x7FFFFFFF) % elementData.length;
498 int index = (key.hashCode() & 0x7FFFFFFF) % elementData.length;
612 index = (key.hashCode() & 0x7FFFFFFF) % elementData.length;
627 index = key == null ? 0 : (key.hashCode() & 0x7FFFFFFF)
690 index = (key.hashCode() & 0x7FFFFFFF) % elementData.length;
H A DGregorianCalendar.java1059 @Override public int hashCode() { method in class:GregorianCalendar
1060 return super.hashCode()
H A DIdentityHashMap.java111 public int hashCode() { method in class:IdentityHashMap.IdentityHashMapEntry
/libcore/luni/src/main/java/java/util/concurrent/
H A DCopyOnWriteArrayList.java258 @Override public int hashCode() { method in class:CopyOnWriteArrayList
259 return Arrays.hashCode(elements);
/libcore/luni/src/main/java/java/util/jar/
H A DAttributes.java171 @Override public int hashCode() { method in class:Attributes.Name
172 return name.toLowerCase(Locale.US).hashCode();
365 public int hashCode() { method in class:Attributes
366 return map.hashCode();
H A DManifest.java254 * @return this {@code Manifest}'s hashCode.
257 public int hashCode() { method in class:Manifest
258 return mainAttributes.hashCode() ^ getEntries().hashCode();
/libcore/luni/src/main/java/java/util/zip/
H A DZipEntry.java341 public int hashCode() { method in class:ZipEntry
342 return name.hashCode();
/libcore/luni/src/main/java/javax/security/auth/
H A DSubject.java387 public int hashCode() { method in class:Subject
388 return principals.hashCode() + privateCredentials.hashCode()
389 + publicCredentials.hashCode();
/libcore/luni/src/main/java/javax/xml/datatype/
H A DXMLGregorianCalendar.java677 public int hashCode() { method in class:XMLGregorianCalendar
/libcore/luni/src/main/java/libcore/icu/
H A DNativeBreakIterator.java63 public int hashCode() { method in class:NativeBreakIterator
H A DRuleBasedCollatorICU.java126 @Override public int hashCode() { method in class:RuleBasedCollatorICU
/libcore/luni/src/main/java/libcore/net/http/
H A DHttpConnection.java329 @Override public int hashCode() { method in class:HttpConnection.Address
331 result = 31 * result + uriHost.hashCode();
333 result = 31 * result + (sslSocketFactory != null ? sslSocketFactory.hashCode() : 0);
334 result = 31 * result + (proxy != null ? proxy.hashCode() : 0);
/libcore/luni/src/main/java/libcore/util/
H A DZoneInfo.java242 public int hashCode() { method in class:ZoneInfo
245 result = prime * result + getID().hashCode();
246 result = prime * result + Arrays.hashCode(mOffsets);
247 result = prime * result + Arrays.hashCode(mIsDsts);
249 result = prime * result + Arrays.hashCode(mTransitions);
250 result = prime * result + Arrays.hashCode(mTypes);
/libcore/luni/src/main/java/org/apache/harmony/security/x509/
H A DExtension.java200 @Override public int hashCode() { method in class:Extension
201 return (Arrays.hashCode(extnID) * 37 + (critical ? 1 : 0)) * 37 + Arrays.hashCode(extnValue);
H A DGeneralName.java310 public int hashCode() { method in class:GeneralName
317 return name.hashCode();
322 return Arrays.hashCode(getEncoded());
324 return super.hashCode();
/libcore/luni/src/test/java/libcore/java/net/
H A DOldURLStreamHandlerTest.java68 assertTrue(handler.hashCode(url1) != handler.hashCode(url2));
74 handler.hashCode(null);
192 @Override public int hashCode(URL u) { method in class:OldURLStreamHandlerTest.MockURLStreamHandler
193 return super.hashCode(u);
/libcore/luni/src/test/java/tests/api/java/util/
H A DEnumMapTest.java58 public int hashCode() { method in class:EnumMapTest.MockEntry
59 return (key == null ? 0 : key.hashCode())
60 ^ (value == null ? 0 : value.hashCode());
528 assertEquals("Should be equal", mockEntry.hashCode(), entry.hashCode());
H A DHashMapTest.java488 public int hashCode() { method in class:HashMapTest.ReusableKey
508 int expected = key.hashCode() ^ val.hashCode();
509 assertEquals(expected, map.hashCode());
513 expected += key.hashCode() ^ val.hashCode();
514 assertEquals(expected, map.hashCode());
/libcore/luni/src/main/java/java/net/
H A DHttpCookie.java688 * name.toLowerCase(Locale.US).hashCode()
689 * + (domain == null ? 0 : domain.toLowerCase(Locale.US).hashCode())
690 * + (path == null ? 0 : path.hashCode())
693 @Override public int hashCode() { method in class:HttpCookie
694 return name.toLowerCase(Locale.US).hashCode()
695 + (domain == null ? 0 : domain.toLowerCase(Locale.US).hashCode())
696 + (path == null ? 0 : path.hashCode());
H A DInetAddress.java374 public int hashCode() { method in class:InetAddress
375 return Arrays.hashCode(ipaddress);
/libcore/luni/src/main/java/java/text/
H A DNumberFormat.java184 * @see #hashCode
499 public int hashCode() { method in class:NumberFormat
H A DSimpleDateFormat.java438 * @see #hashCode
839 public int hashCode() { method in class:SimpleDateFormat
840 return super.hashCode() + pattern.hashCode() + formatData.hashCode() + creationYear;

Completed in 474 milliseconds

123456