Searched refs:hashCode (Results 1 - 25 of 1549) sorted by relevance

1234567891011>>

/openjdk10/langtools/test/tools/javac/annotations/neg/
H A DMemberOver.java13 int hashCode(); method in interface:T
H A DObjectMembers.java10 @ObjectMembers(hashCode = 23)
/openjdk10/langtools/test/tools/javac/
H A DSuperMeth.java36 int h = new Outer().hashCode();
43 public int hashCode() { return Outer.super.hashCode(); } method in class:Outer.Inner
45 public int hashCode() { return inner.hashCode(); } method in class:Outer
H A DPrivateUplevelConstant.java39 public int hashCode() {
H A DInterfaceObjectIncompatibility.java13 int hashCode() throws Exception; method in interface:InterfaceObjectIncompatibility
H A DConditionalWithVoid.java12 System.out.println(o instanceof String ? o.hashCode() : o.wait());
14 (o instanceof String ? o.hashCode() : o.wait()).toString();
/openjdk10/hotspot/test/compiler/classUnloading/methodUnloading/
H A DWorkerClass.java32 * We override hashCode here to be able to access this implementation
36 public int hashCode() { method in class:WorkerClass
/openjdk10/jdk/test/java/lang/
H A DHashCode.java27 * @summary Test the primitive wrappers hashCode()
55 check( new Long(x).hashCode() == (int)((long)x ^ (long)x>>>32));
56 check(Long.valueOf(x).hashCode() == (int)((long)x ^ (long)x>>>32));
57 check( (new Long(x)).hashCode() == Long.hashCode(x));
58 check( new Integer((int)x).hashCode() == (int) x);
59 check(Integer.valueOf((int)x).hashCode() == (int) x);
60 check( (new Integer((int)x)).hashCode() == Integer.hashCode((int)x));
61 check( new Short((short)x).hashCode()
[all...]
/openjdk10/jdk/src/jdk.jdi/share/classes/com/sun/jdi/
H A DBooleanValue.java60 int hashCode(); method in interface:BooleanValue
H A DVoidValue.java50 int hashCode(); method in interface:VoidValue
H A DLongValue.java60 int hashCode(); method in interface:LongValue
H A DByteValue.java59 int hashCode(); method in interface:ByteValue
H A DIntegerValue.java60 int hashCode(); method in interface:IntegerValue
/openjdk10/jdk/src/java.sql/share/classes/java/sql/
H A DRowId.java118 int hashCode(); method in interface:RowId
/openjdk10/jdk/test/javax/print/
H A DTestRaceCond.java50 if (pserv1.hashCode() != pserv2.hashCode()) {
52 + "services: " + pserv1.hashCode() + " "
53 + pserv2.hashCode());
/openjdk10/hotspot/test/runtime/logging/
H A DItablesVtableTest.java26 public int hashCode(); method in interface:Interface1
33 public int hashCode() { method in class:ItablesVtableTest
40 System.out.println("Interface1 hashCode " + c.hashCode());
/openjdk10/langtools/test/tools/javac/lambda/
H A DT8056984.java33 System.err.println(t1.hashCode());
34 System.err.println(t2.hashCode());
40 public int hashCode(); method in interface:C
/openjdk10/hotspot/src/share/tools/IdealGraphVisualizer/Data/test/unit/src/com/sun/hotspot/igv/data/
H A DPropertyTest.java101 assertTrue(p.hashCode() != p2.hashCode());
105 assertTrue(p.hashCode() != p3.hashCode());
106 assertTrue(p2.hashCode() != p3.hashCode());
110 assertEquals(p.hashCode(), p4.hashCode());
114 assertTrue(p.hashCode() != p5.hashCode());
[all...]
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.util/src/org/graalvm/util/
H A DEquivalence.java32 * Default equivalence calling {@link #equals(Object)} to check equality and {@link #hashCode()}
44 public int hashCode(Object o) {
45 return o.hashCode();
50 * Identity equivalence using {@code ==} to check equality and {@link #hashCode()} for obtaining
61 public int hashCode(Object o) {
62 return o.hashCode();
79 public int hashCode(Object o) {
92 public abstract int hashCode(Object o); method in class:Equivalence
/openjdk10/jdk/test/java/security/BasicPermission/
H A DExitVMEquals.java43 // Test against hashCode spec
44 if (bp1.hashCode() != bp1.getName().hashCode())
45 sb.append("bp1 hashCode not spec consistent\n");
46 if (bp2.hashCode() != bp2.getName().hashCode())
47 sb.append("bp2 hashCode not spec consistent\n");
61 // Tests against common knowledge: If equals, then hashCode should be same
63 if (bp1.hashCode() != bp2.hashCode()) {
[all...]
/openjdk10/hotspot/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.code/src/jdk/vm/ci/code/site/
H A DReference.java31 public abstract int hashCode(); method in class:Reference
/openjdk10/hotspot/test/gc/stress/gcbasher/
H A DDependency.java49 public int hashCode() { method in class:Dependency
50 return methodName.hashCode() ^ methodDescriptor.hashCode() ^ target.hashCode();
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/org/objectweb/asm/
H A DItem.java125 int hashCode; field in class:Item
163 hashCode = i.hashCode;
174 this.hashCode = 0x7FFFFFFF & (type + intVal);
185 this.hashCode = 0x7FFFFFFF & (type + (int) longVal);
196 this.hashCode = 0x7FFFFFFF & (type + (int) floatVal);
207 this.hashCode = 0x7FFFFFFF & (type + (int) doubleVal);
233 hashCode = 0x7FFFFFFF & (type + strVal1.hashCode());
236 hashCode
[all...]
/openjdk10/jdk/src/java.base/share/classes/java/lang/annotation/
H A DAnnotation.java91 * of the member-name as computed by {@link String#hashCode()}) XOR
97 * <code><i>WrapperType</i>.valueOf(<i>v</i>).hashCode()</code>, where
105 * <code><i>v</i>.hashCode()</code>. (In the case of annotation
110 * {@link java.util.Arrays#hashCode(long[]) Arrays.hashCode}
117 int hashCode(); method in interface:Annotation
/openjdk10/jdk/src/java.management/share/classes/javax/management/openmbean/
H A DOpenMBeanAttributeInfo.java114 * This ensures that {@code t1.equals(t2)} implies that {@code t1.hashCode()==t2.hashCode()}
117 * {@link Object#hashCode() Object.hashCode()}.
121 public int hashCode(); method in interface:OpenMBeanAttributeInfo

Completed in 214 milliseconds

1234567891011>>