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

<<11121314151617181920>>

/openjdk9/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();
/openjdk9/jaxws/src/jdk.xml.bind/share/classes/com/sun/xml/internal/rngom/nc/
H A DChoiceNameClass.java71 public int hashCode() { method in class:ChoiceNameClass
72 return nameClass1.hashCode() ^ nameClass2.hashCode();
/openjdk9/jaxws/src/jdk.xml.bind/share/classes/com/sun/xml/internal/rngom/binary/visitor/
H A DChildElementFinder.java90 public int hashCode() { method in class:ChildElementFinder.Element
92 result = (nc != null ? nc.hashCode() : 0);
93 result = 29 * result + (content != null ? content.hashCode() : 0);
/openjdk9/jaxws/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/api/
H A DReference.java103 public int hashCode() { method in class:Reference
104 return 29 * type.hashCode() + annotations.hashCode();
/openjdk9/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);
/openjdk9/jdk/src/jdk.attach/share/classes/com/sun/tools/attach/
H A DVirtualMachineDescriptor.java146 * the general contract of the {@link java.lang.Object#hashCode()
147 * Object.hashCode} method.
151 public int hashCode() { method in class:VirtualMachineDescriptor
155 hash = provider.hashCode() * 127 + id.hashCode();
/openjdk9/jdk/src/java.naming/share/classes/com/sun/jndi/ldap/
H A DDigestClientId.java82 myHash = super.hashCode() ^ Arrays.hashCode(propvals);
95 public int hashCode() { method in class:DigestClientId
/openjdk9/jdk/src/java.management/share/classes/javax/management/
H A DObjectInstance.java123 public int hashCode() { method in class:ObjectInstance
124 final int classHash = ((className==null)?0:className.hashCode());
125 return name.hashCode() ^ classHash;
H A DMBeanInfo.java148 private transient int hashCode; field in class:MBeanInfo
509 public int hashCode() { method in class:MBeanInfo
510 /* Since computing the hashCode is quite expensive, we cache it.
515 threads will compute the same hashCode at the same time. */
516 if (hashCode != 0)
517 return hashCode;
519 hashCode = Objects.hash(getClassName(), getDescriptor())
520 ^ Arrays.hashCode(fastGetAttributes())
521 ^ Arrays.hashCode(fastGetOperations())
522 ^ Arrays.hashCode(fastGetConstructor
[all...]
/openjdk9/jdk/src/jdk.jconsole/share/classes/sun/tools/jconsole/inspector/
H A DXObject.java59 public int hashCode() { method in class:XObject
60 return object.hashCode();
103 text = text + " ("+object.hashCode()+")";
/openjdk9/jdk/src/java.desktop/share/classes/com/sun/media/sound/
H A DModelIdentifier.java139 public int hashCode() { method in class:ModelIdentifier
141 if(object != null) hashcode |= object.hashCode();
142 if(variable != null) hashcode |= variable.hashCode();
/openjdk9/jdk/test/java/util/Locale/
H A DBug4518797.java26 * @summary Make sure that hashCode() and read/writeObject() are thread-safe.
44 final int hashcode = loc.hashCode();
50 int hc = loc.hashCode();
73 int hc = loc2.hashCode();
/openjdk9/jdk/test/javax/print/applet/applet3/
H A DApplet3PrintService.java115 public int hashCode() { method in class:Applet3PrintService
116 return this.getClass().hashCode()+getName().hashCode();
/openjdk9/jdk/test/javax/print/applet/applet4/
H A DApplet4PrintService.java115 public int hashCode() { method in class:Applet4PrintService
116 return this.getClass().hashCode()+getName().hashCode();
/openjdk9/jdk/test/javax/print/applet/applet2/
H A DApplet2PrintService.java115 public int hashCode() { method in class:Applet2PrintService
116 return this.getClass().hashCode()+getName().hashCode();
/openjdk9/nashorn/src/jdk.dynalink/share/classes/jdk/dynalink/
H A DNamedOperation.java199 * to {@code baseOperation.hashCode() + 31 * name.hashCode()}.
202 public int hashCode() { method in class:NamedOperation
203 return baseOperation.hashCode() + 31 * name.hashCode();
/openjdk9/langtools/src/jdk.compiler/share/classes/com/sun/tools/sjavac/pubapi/
H A DPubApiTypeParam.java54 public int hashCode() { method in class:PubApiTypeParam
55 return identifier.hashCode() ^ bounds.hashCode();
/openjdk9/jdk/test/javax/print/applet/applet1/
H A DApplet1PrintService.java115 public int hashCode() { method in class:Applet1PrintService
116 return this.getClass().hashCode()+getName().hashCode();
/openjdk9/nashorn/test/script/sandbox/
H A Djavaextend.js96 // Test overriding of hashCode, equals, and toString
99 print("oo-plain-hashCode: " + (new oo({})).hashCode())
103 print("oo-overridden-hashCode: " + (new oo({ hashCode: function() { return 6 }})).hashCode())
106 // Finally, test that equals and hashCode can be overridden with functions from a prototype, but toString() can't:
113 hashCode: function() { return 7 }
115 print("oo-proto-overridden-hashCode: " + (new oo(new Proto())).hashCode())
[all...]
/openjdk9/jdk/test/javax/management/descriptor/
H A DEqualsHashCodeTest.java27 * @summary Test equals and hashCode for descriptors
75 h = Arrays.hashCode((int[]) value);
79 h = value.hashCode();
80 expectedHashCode += names[i].toLowerCase().hashCode() ^ h;
83 System.out.println("Testing hashCode for " +
85 if (d.hashCode() != expectedHashCode) {
86 throw new Exception("Bad hashCode: expected " +
87 expectedHashCode + ", got " + d.hashCode() +
/openjdk9/jdk/src/java.management/share/classes/javax/management/openmbean/
H A DCompositeDataSupport.java410 * This ensures that <code> t1.equals(t2) </code> implies that <code> t1.hashCode()==t2.hashCode() </code>
413 * {@link Object#hashCode() Object.hashCode()}.
420 * of {@code Arrays.hashCode(e)} for arrays of primitive types.
425 public int hashCode() { method in class:CompositeDataSupport
426 int hashcode = compositeType.hashCode();
432 hashcode += Arrays.hashCode((byte[]) o);
434 hashcode += Arrays.hashCode((short[]) o);
436 hashcode += Arrays.hashCode((in
[all...]
/openjdk9/jdk/src/java.rmi/share/classes/javax/rmi/ssl/
H A DSslRMIServerSocketFactory.java287 * {@link #hashCode()}) if it adds instance state that affects
344 public int hashCode() { method in class:SslRMIServerSocketFactory
345 return getClass().hashCode() +
346 (context == null ? 0 : context.hashCode()) +
347 (needClientAuth ? Boolean.TRUE.hashCode() : Boolean.FALSE.hashCode()) +
348 (enabledCipherSuites == null ? 0 : enabledCipherSuitesList.hashCode()) +
349 (enabledProtocols == null ? 0 : enabledProtocolsList.hashCode());
/openjdk9/jdk/src/java.rmi/share/classes/java/rmi/activation/
H A DActivationGroupDesc.java296 public int hashCode() method in class:ActivationGroupDesc.CommandEnvironment
299 return (command == null ? 0 : command.hashCode());
354 public int hashCode() { method in class:ActivationGroupDesc
359 : location.hashCode() << 24) ^
362 : env.hashCode() << 16) ^
365 : className.hashCode() << 8) ^
368 : data.hashCode()));
/openjdk9/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/
H A DPropertyHashMap.java61 * linked list is broken into fragments based on hashCode(key) . An array is use
62 * to quickly reference these fragments, indexing on hashCode(key) mod tableSize
305 return key.hashCode() & bins.length - 1;
374 final int hashCode = key.hashCode();
376 if (element.match(key, hashCode)) {
464 final int hashCode = key.hashCode();
465 if (list.match(key, hashCode)) {
471 if (element.match(key, hashCode)) {
600 private final int hashCode; field in class:PropertyHashMap.Element
638 public int hashCode() { method in class:PropertyHashMap.Element
[all...]
/openjdk9/jdk/src/jdk.jlink/share/classes/jdk/tools/jlink/internal/
H A DPerfectHashBuilder.java136 int hashCode(int seed) { method in class:PerfectHashBuilder.Entry
137 return ImageStringsReader.hashCode(key, seed);
141 public int hashCode() { method in class:PerfectHashBuilder.Entry
142 return ImageStringsReader.hashCode(key);
179 public int hashCode() { method in class:PerfectHashBuilder.Bucket
180 return getFirst().hashCode();
267 redirect[(bucket.hashCode() & 0x7FFFFFFF) % count] = -1 - free;
287 int index = (entry.hashCode() & 0x7FFFFFFF) % count;
320 int index = entry.hashCode(seed) % count;
353 redirect[(bucket.hashCode()
[all...]

Completed in 474 milliseconds

<<11121314151617181920>>