Searched refs:hashCode (Results 226 - 250 of 1549) sorted by relevance

1234567891011>>

/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/util/
H A DJDKClassLoader.java159 public int hashCode() { method in class:JDKClassLoader.JDKClassLoaderCache.CacheKey
161 return className.hashCode();
163 return className.hashCode() ^ loader.hashCode();
/openjdk10/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/bind/api/
H A DTypeReference.java128 public int hashCode() { method in class:TypeReference
129 int result = tagName.hashCode();
130 result = 31 * result + type.hashCode();
131 result = 31 * result + Arrays.hashCode(annotations);
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/xni/
H A DQName.java142 public int hashCode() { method in class:QName
144 return uri.hashCode() +
145 ((localpart != null) ? localpart.hashCode() : 0);
147 return (rawname != null) ? rawname.hashCode() : 0;
148 } // hashCode():int
/openjdk10/jdk/src/java.desktop/share/classes/javax/print/attribute/
H A DAttributeSet.java258 * that {@code t1.hashCode()==t2.hashCode()} for any two attribute sets
260 * {@link Object#hashCode() Object.hashCode()}.
264 public int hashCode(); method in interface:AttributeSet
/openjdk10/jdk/src/java.desktop/share/classes/sun/awt/im/
H A DInputMethodLocator.java80 public int hashCode() { method in class:InputMethodLocator
81 int result = descriptor.hashCode();
83 result |= loader.hashCode() << 10;
86 result |= locale.hashCode() << 20;
/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/xml/internal/xsom/impl/
H A DUName.java69 // UName was used in HashMap without overriden equals and hashCode methods.
85 public int hashCode() { method in class:UName
87 hash = 13 * hash + (this.nsUri != null ? this.nsUri.hashCode() : 0);
88 hash = 13 * hash + (this.localName != null ? this.localName.hashCode() : 0);
89 hash = 13 * hash + (this.qname != null ? this.qname.hashCode() : 0);
/openjdk10/jdk/src/java.base/share/classes/java/security/spec/
H A DEllipticCurve.java188 * (field.hashCode() << 6) + (a.hashCode() << 4) + (b.hashCode() << 2)
191 public int hashCode() { method in class:EllipticCurve
192 return (field.hashCode() << 6 +
193 (a.hashCode() << 4) +
194 (b.hashCode() << 2));
/openjdk10/jdk/src/java.base/share/classes/java/text/
H A DStringCharacterIterator.java248 if (hashCode() != that.hashCode())
261 public int hashCode() method in class:StringCharacterIterator
263 return text.hashCode() ^ pos ^ begin ^ end;
/openjdk10/jdk/src/java.management/share/classes/javax/management/openmbean/
H A DOpenMBeanInfo.java164 * where the hashCode of each of these arrays is calculated by a call to
165 * {@code new java.util.HashSet(java.util.Arrays.asList(this.getSignature)).hashCode()}).
167 * This ensures that {@code t1.equals(t2)} implies that {@code t1.hashCode()==t2.hashCode()}
170 * {@link Object#hashCode() Object.hashCode()}.
174 public int hashCode(); method in interface:OpenMBeanInfo
H A DOpenMBeanParameterInfo.java191 * This ensures that {@code t1.equals(t2)} implies that {@code t1.hashCode()==t2.hashCode()}
194 * {@link Object#hashCode() Object.hashCode()}.
198 public int hashCode(); method in interface:OpenMBeanParameterInfo
/openjdk10/jdk/src/jdk.rmic/share/classes/sun/tools/tree/
H A DIntExpression.java60 public int hashCode() { method in class:IntExpression
/openjdk10/jdk/test/java/security/Identity/
H A DEqualsHashCodeContract.java28 * @summary java.security.Identity violates equals/hashCode contract
47 if ( !(i1.equals(i2)) == (i1.hashCode()==i2.hashCode()) ) {
57 if ( !((i1.equals(i3)) && (i1.hashCode()==i3.hashCode()))) {
/openjdk10/jdk/test/java/rmi/MarshalledObject/compare/
H A DCompare.java65 if (made.hashCode() != read.hashCode()) {
67 "made.hashCode(){" + made.hashCode() + "} != " +
68 "read.hashCode(){" + read.hashCode() + "}"
/openjdk10/jdk/test/java/util/Properties/
H A DCheckOverrides.java98 public int hashCode() { method in class:CheckOverrides.MethodSignature
99 int result = returnType.hashCode();
100 result = 31 * result + name.hashCode();
101 result = 31 * result + Arrays.hashCode(parameterTypes);
/openjdk10/jdk/src/java.management/share/classes/javax/management/
H A DMBeanFeatureInfo.java156 public int hashCode() { method in class:MBeanFeatureInfo
157 return getName().hashCode() ^ getDescription().hashCode() ^
158 getDescriptor().hashCode();
/openjdk10/langtools/test/tools/javac/lambda/
H A DLambdaConv03.java61 exec((Object x) -> { return x.hashCode(); }, null);
77 exec((Object x) -> { return x.hashCode(); }, null);
93 exec((Object x) -> { return x.hashCode(); }, null);
109 exec((Object x) -> { return x.hashCode(); }, null);
H A DXDdumpLambdaToMethodStats.java50 System.out.println(function + "; hash=" + function.hashCode());
/openjdk10/nashorn/test/src/jdk/nashorn/api/javaaccess/test/
H A DPerson.java50 public int hashCode() { method in class:Person
/openjdk10/jdk/test/javax/naming/ldap/LdapName/
H A DCompareToEqualsTests.java38 * Tests for LdapName/Rdn compareTo, equals and hashCode methods.
126 if (isEquals && (name1.hashCode() != name2.hashCode())) {
127 System.out.println("name1.hashCode(): " + name1.hashCode() +
128 " name2.hashCode(): " + name2.hashCode());
129 throw new Exception("hashCode test failed for name1:" +
/openjdk10/hotspot/src/share/tools/IdealGraphVisualizer/Data/src/com/sun/hotspot/igv/data/
H A DPair.java79 public int hashCode() { method in class:Pair
80 return ((l == null) ? 0 : l.hashCode()) * 71 + ((r == null) ? 0 : r.hashCode());
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/naming/pcosnaming/
H A DInternalBindingKey.java35 * equals() method and the hashCode() method for use in a hash table.
36 * It computes the hashCode once and stores it, and also precomputes
123 public int hashCode() { method in class:InternalBindingKey
127 hashVal += this.id.hashCode();
131 hashVal += this.kind.hashCode();
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/legacy/connection/
H A DEndPointInfoImpl.java82 public int hashCode() { method in class:EndPointInfoImpl
83 return type.hashCode() ^ hostname.hashCode() ^ port;
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/naming/cosnaming/
H A DInternalBindingKey.java33 * equals() method and the hashCode() method for use in a hash table.
34 * It computes the hashCode once and stores it, and also precomputes
68 hashVal += this.name.id.hashCode();
70 hashVal += this.name.kind.hashCode();
98 public int hashCode() { method in class:InternalBindingKey
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/dtd/
H A DXMLContentSpec.java243 public int hashCode() { method in class:XMLContentSpec
245 value.hashCode() << 8 |
246 otherValue.hashCode();
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/beans/
H A DWildcardTypeImpl.java120 * @see sun.reflect.generics.reflectiveObjects.WildcardTypeImpl#hashCode
123 public int hashCode() { method in class:WildcardTypeImpl
124 return Arrays.hashCode(this.upperBounds)
125 ^ Arrays.hashCode(this.lowerBounds);

Completed in 797 milliseconds

1234567891011>>