Searched refs:hashCode (Results 201 - 225 of 1533) sorted by relevance

1234567891011>>

/openjdk9/jdk/src/java.desktop/share/classes/javax/sound/sampled/
H A DPort.java178 * Finalizes the hashCode method.
181 public final int hashCode() { method in class:Port.Info
182 return super.hashCode();
/openjdk9/jdk/src/java.desktop/share/classes/javax/sound/midi/
H A DMidiDevice.java307 public final int hashCode() { method in class:MidiDevice.Info
308 return super.hashCode();
/openjdk9/jdk/src/java.desktop/share/classes/sun/swing/
H A DBakedArrayList.java38 * A specialized ArrayList that caches its hashCode as well as overriding
40 * where the list won't change and you want to avoid the overhead of hashCode
41 * iterating through the elements invoking hashCode. This also assumes you'll
49 * The cached hashCode.
72 _hashCode = 31 * _hashCode + get(counter).hashCode();
76 public int hashCode() { method in class:BakedArrayList
/openjdk9/jdk/src/java.sql.rowset/share/classes/javax/sql/rowset/serial/
H A DSerialDatalink.java142 public int hashCode() { method in class:SerialDatalink
143 return 31 + url.hashCode();
/openjdk9/jdk/src/java.management/share/classes/com/sun/jmx/mbeanserver/
H A DNamedObject.java104 public int hashCode() { method in class:NamedObject
105 return name.hashCode();
/openjdk9/jdk/src/jdk.httpserver/share/classes/com/sun/net/httpserver/
H A DHttpPrincipal.java92 * as <code>(getUsername()+getRealm().hashCode()</code>
94 public int hashCode() { method in class:HttpPrincipal
95 return (username+realm).hashCode();
/openjdk9/jdk/src/jdk.jlink/share/classes/jdk/tools/jlink/internal/
H A DAbstractResourcePoolEntry.java78 public int hashCode() { method in class:AbstractResourcePoolEntry
79 return Objects.hashCode(this.path);
/openjdk9/jdk/src/jdk.rmic/share/classes/sun/tools/tree/
H A DStringExpression.java73 public int hashCode() { method in class:StringExpression
74 return value.hashCode() ^ 3213;
/openjdk9/jdk/src/jdk.security.auth/share/classes/com/sun/security/auth/
H A DLdapPrincipal.java110 public int hashCode() { method in class:LdapPrincipal
111 return name.hashCode();
H A DSolarisNumericUserPrincipal.java158 public int hashCode() { method in class:SolarisNumericUserPrincipal
159 return name.hashCode();
H A DSolarisPrincipal.java126 public int hashCode() { method in class:SolarisPrincipal
127 return name.hashCode();
/openjdk9/jdk/test/java/rmi/server/RemoteObject/notExtending/
H A DNotExtending.java27 * implement hashCode() and equals() methods so that instances
53 setHashValue(stub.hashCode());
66 public int hashCode() { method in class:NotExtending
68 * Test fails if the hashCode() method is called (during export)
73 "hashCode() invoked before hashValue initialized");
87 * Verify that hashCode() is not invoked before it is
92 System.err.println("Server exported without invoking hashCode().");
/openjdk9/jdk/test/java/util/Collections/
H A DViewSynch.java74 public int hashCode() {return x.hashCode();} method in class:Int
/openjdk9/nashorn/test/script/basic/
H A DJDK-8158467.js55 hashCode: function() 33,
60 print(obj.hashCode());
/openjdk9/jdk/test/java/util/concurrent/tck/
H A DEntryTest.java101 assertEquals(e2.hashCode(), e.hashCode());
103 assertEquals(s2.hashCode(), s.hashCode());
105 assertEquals(e2.hashCode(), s2.hashCode());
107 assertEquals(e.hashCode(), s.hashCode());
/openjdk9/jdk/test/java/time/tck/java/time/
H A DTCKClock_Offset.java152 assertEquals(a.hashCode(), a.hashCode());
153 assertEquals(a.hashCode(), b.hashCode());
156 assertEquals(a.hashCode() == c.hashCode(), false);
159 assertEquals(a.hashCode() == d.hashCode(), false);
H A DTCKClock_Fixed.java143 assertEquals(a.hashCode(), a.hashCode());
144 assertEquals(a.hashCode(), b.hashCode());
147 assertEquals(a.hashCode() == c.hashCode(), false);
150 assertEquals(a.hashCode() == d.hashCode(), false);
/openjdk9/jdk/test/java/util/PluggableLocale/providersrc/
H A DFooDateFormat.java58 public int hashCode() { method in class:FooDateFormat
59 return sdf.hashCode();
/openjdk9/jdk/test/sun/security/pkcs/EncryptedPrivateKeyInfo/
H A DEncryptedPKInfoEqualsHashCode.java28 * @summary Verify equals()/hashCode() contract honored
61 if ( (ev1.equals(ev2)) == (ev1.hashCode()==ev2.hashCode()) )
64 throw new Exception("Failed equals()/hashCode() contract");
/openjdk9/langtools/test/tools/javac/lambda/
H A DLambdaScope01.java54 public int hashCode() { method in class:LambdaScope01
60 int res = LambdaScope01.<Integer,Integer>exec((Integer x) -> x * hashCode(), 3);
/openjdk9/jdk/test/java/util/EnumMap/
H A DDistinctEntrySetElements.java56 if (hashSet.hashCode() != entrySet.hashCode()) {
/openjdk9/test/lib/jdk/test/lib/util/
H A DTriple.java71 public int hashCode() { method in class:Triple
72 return container.hashCode();
/openjdk9/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();
/openjdk9/hotspot/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.code/src/jdk/vm/ci/code/
H A DRegister.java92 public int hashCode() { method in class:Register.RegisterCategory
93 return 23 + name.hashCode();
177 public int hashCode() { method in class:Register
178 return 17 + name.hashCode();
/openjdk9/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;

Completed in 226 milliseconds

1234567891011>>