Searched refs:hashCode (Results 126 - 150 of 1549) sorted by relevance

1234567891011>>

/openjdk10/jdk/src/jdk.security.auth/share/classes/com/sun/security/auth/
H A DUserPrincipal.java91 public int hashCode() { method in class:UserPrincipal
92 return name.hashCode();
/openjdk10/jdk/test/java/io/File/
H A DHashCodeEquals.java39 int h1 = f1.hashCode();
40 int h2 = f2.hashCode();
/openjdk10/jdk/test/java/util/concurrent/ConcurrentHashMap/
H A DDistinctEntrySetElements.java55 if (hashSet.hashCode() != entrySet.hashCode()) {
/openjdk10/jdk/test/java/util/IdentityHashMap/
H A DDistinctEntrySetElements.java57 if (hashSet.hashCode() != entrySet.hashCode()) {
/openjdk10/jdk/test/sun/security/x509/AlgorithmId/
H A DAlgorithmIdEqualsHashCode.java28 * @summary Verify equals()/hashCode() contract honored
55 if ( (ai1.equals(ai2)) == (ai1.hashCode()==ai2.hashCode()) )
56 System.out.println("PASSED equals()/hashCode() test");
58 throw new Exception("Failed equals()/hashCode() contract");
/openjdk10/jdk/test/javax/security/auth/x500/X500Principal/
H A DEquals.java79 if (p1.hashCode() != p2.hashCode())
95 if (p3.hashCode() != p4.hashCode())
107 if (p5.hashCode() != p6.hashCode())
119 if (p7.hashCode() != p8.hashCode())
/openjdk10/jdk/test/sun/security/util/DerValue/
H A DDerValueEqualsHashCode.java28 * @summary Verify equals()/hashCode() contract honored
56 if ( (dv1.equals(dv2)) == (dv1.hashCode()==dv2.hashCode()) )
59 throw new Exception("FAILED equals()/hashCode() contract");
/openjdk10/jdk/src/java.desktop/macosx/classes/com/apple/laf/
H A DScreenMenu.java96 final int hashCode = getHashCode(items[i]);
97 if (hashCode != childHashArray[i]) {
397 * Gets a hashCode for a JMenu or JMenuItem or subclass so that we can compare for
401 int hashCode = m.hashCode();
407 if (text != null) hashCode ^= text.hashCode();
410 if (icon != null) hashCode ^= icon.hashCode();
413 if (disabledIcon != null) hashCode
[all...]
/openjdk10/jdk/src/java.base/share/classes/java/text/
H A DDateFormatSymbols.java637 * Override hashCode.
641 public int hashCode() { method in class:DateFormatSymbols
642 int hashCode = cachedHashCode;
643 if (hashCode == 0) {
644 hashCode = 5;
645 hashCode = 11 * hashCode + Arrays.hashCode(eras);
646 hashCode = 11 * hashCode
[all...]
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/replacements/
H A DObjectSubstitutions.java37 public static int hashCode(final Object thisObj) { method in class:ObjectSubstitutions
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.jtt/src/org/graalvm/compiler/jtt/except/
H A DCatch_NPE_06.java38 return string.hashCode();
/openjdk10/hotspot/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.code/src/jdk/vm/ci/code/
H A DStackLockValue.java66 public int hashCode() { method in class:StackLockValue
68 int result = super.hashCode();
70 result = prime * result + owner.hashCode();
71 result = prime * result + slot.hashCode();
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/orb/
H A DParserActionBase.java38 public int hashCode() method in class:ParserActionBase
40 return propertyName.hashCode() ^ operation.hashCode() ^
41 fieldName.hashCode() ^ (prefix ? 0 : 1) ;
/openjdk10/hotspot/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.code/src/jdk/vm/ci/code/site/
H A DSite.java42 public final int hashCode() { method in class:Site
43 throw new UnsupportedOperationException("hashCode");
/openjdk10/hotspot/test/compiler/runtime/
H A DTest6859338.java46 total += o[j].hashCode();
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xml/internal/utils/
H A DCharKey.java69 public final int hashCode() method in class:CharKey
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/messaging/saaj/packaging/mime/internet/
H A DUniqueValue.java59 * part number, a newly created object's <code>hashCode()</code>,
67 append(s.hashCode()).append('.').
/openjdk10/jaxws/src/jdk.xml.ws/share/classes/com/sun/tools/internal/ws/processor/modeler/annotation/
H A DMemberInfo.java71 public int hashCode() { method in class:MemberInfo
73 hash = 47 * hash + (this.paramType != null ? this.paramType.hashCode() : 0);
74 hash = 47 * hash + (this.paramName != null ? this.paramName.hashCode() : 0);
75 hash = 47 * hash + (this.jaxbAnnotations != null ? this.jaxbAnnotations.hashCode() : 0);
/openjdk10/jdk/src/java.base/share/classes/java/security/
H A DPrincipal.java66 public int hashCode(); method in interface:Principal
H A DCodeSigner.java106 public int hashCode() { method in class:CodeSigner
109 myhash = signerCertPath.hashCode();
111 myhash = signerCertPath.hashCode() + timestamp.hashCode();
/openjdk10/jdk/src/java.base/share/classes/java/net/
H A DProxy.java166 public final int hashCode() { method in class:Proxy
168 return type().hashCode();
169 return type().hashCode() + address().hashCode();
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/org/objectweb/asm/
H A DHandle.java230 public int hashCode() { method in class:Handle
231 return tag + (itf? 64: 0) + owner.hashCode() * name.hashCode() * desc.hashCode();
/openjdk10/jdk/src/jdk.jdi/share/classes/com/sun/tools/example/debug/tty/
H A DReferenceTypeSpec.java48 int hashCode(); method in interface:ReferenceTypeSpec
/openjdk10/jdk/src/java.desktop/unix/classes/sun/java2d/xr/
H A DMutableInteger.java41 public int hashCode() { method in class:MutableInteger
/openjdk10/jdk/src/java.management/share/classes/javax/management/openmbean/
H A DOpenMBeanOperationInfo.java158 * where the signature hashCode is calculated by a call to
159 * {@code java.util.Arrays.asList(this.getSignature).hashCode()}).
161 * This ensures that {@code t1.equals(t2)} implies that {@code t1.hashCode()==t2.hashCode()}
164 * {@link Object#hashCode() Object.hashCode()}.
169 public int hashCode(); method in interface:OpenMBeanOperationInfo

Completed in 241 milliseconds

1234567891011>>