Searched refs:hashCode (Results 176 - 200 of 1062) sorted by relevance

1234567891011>>

/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dtd/
H A DXMLContentSpec.java283 public int hashCode() { method in class:XMLContentSpec
285 value.hashCode() << 8 |
286 otherValue.hashCode();
/openjdk7/corba/src/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;
/openjdk7/corba/src/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
/openjdk7/corba/src/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();
/openjdk7/jdk/src/share/classes/java/security/
H A DTimestamp.java108 public int hashCode() { method in class:Timestamp
110 myhash = timestamp.hashCode() + signerCertPath.hashCode();
/openjdk7/jdk/src/share/classes/java/util/
H A DObjects.java93 * @see Object#hashCode
95 public static int hashCode(Object o) { method in class:Objects
96 return o != null ? o.hashCode() : 0;
103 * Arrays#hashCode(Object[])}.
106 * Object#hashCode()} on objects containing multiple fields. For
111 * &#064;Override public int hashCode() {
118 * value can be computed by calling {@link #hashCode(Object)}.
122 * @see Arrays#hashCode(Object[])
123 * @see List#hashCode
126 return Arrays.hashCode(value
[all...]
/openjdk7/jdk/src/share/classes/javax/management/
H A DMBeanNotificationInfo.java200 public int hashCode() { method in class:MBeanNotificationInfo
201 int hash = getName().hashCode();
203 hash ^= types[i].hashCode();
H A DMBeanParameterInfo.java145 public int hashCode() { method in class:MBeanParameterInfo
146 return getName().hashCode() ^ getType().hashCode();
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;
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DModelIdentifier.java137 public int hashCode() { method in class:ModelIdentifier
139 if(object != null) hashcode |= object.hashCode();
140 if(variable != null) hashcode |= variable.hashCode();
/openjdk7/jdk/src/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();
/openjdk7/jdk/src/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);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/api/
H A DReference.java112 public int hashCode() { method in class:Reference
113 return 29 * type.hashCode() + annotations.hashCode();
/openjdk7/jaxws/src/share/jaxws_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);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/nc/
H A DChoiceNameClass.java71 public int hashCode() { method in class:ChoiceNameClass
72 return nameClass1.hashCode() ^ nameClass2.hashCode();
/openjdk7/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();
/openjdk7/jdk/test/javax/print/applet/applet1/
H A DApplet1PrintService.java115 public int hashCode() { method in class:Applet1PrintService
116 return this.getClass().hashCode()+getName().hashCode();
/openjdk7/jdk/test/javax/print/applet/applet2/
H A DApplet2PrintService.java115 public int hashCode() { method in class:Applet2PrintService
116 return this.getClass().hashCode()+getName().hashCode();
/openjdk7/jdk/test/javax/print/applet/applet3/
H A DApplet3PrintService.java115 public int hashCode() { method in class:Applet3PrintService
116 return this.getClass().hashCode()+getName().hashCode();
/openjdk7/jdk/test/javax/print/applet/applet4/
H A DApplet4PrintService.java115 public int hashCode() { method in class:Applet4PrintService
116 return this.getClass().hashCode()+getName().hashCode();
/openjdk7/jdk/src/macosx/native/jobjc/src/generator/java/com/apple/internal/jobjc/generator/model/types/
H A DNType.java107 @Override public int hashCode() { return Integer.valueOf(length).hashCode(); } method in class:NType.NBitfield
128 @Override public int hashCode() { return Character.valueOf(type).hashCode(); } method in class:NType.NPrimitive
149 @Override public int hashCode() { return subject.hashCode(); } method in class:NType.NPointer
195 @Override public int hashCode() { return name.hashCode() + type.hashCode(); } method in class:NType.NField
227 @Override public int hashCode() { retur method in class:NType.NStruct
269 @Override public int hashCode(){ return Long.valueOf(length).hashCode() + type.hashCode(); } method in class:NType.NArray
[all...]
/openjdk7/jdk/test/java/util/Collections/
H A DCheckedIdentityMap.java47 check(e1.hashCode() == hashCode(e1));
48 check(e2.hashCode() == hashCode(e2));
51 int hashCode(Map.Entry<?,?> e) { method in class:CheckedIdentityMap
/openjdk7/jdk/test/javax/management/descriptor/
H A DEqualsHashCodeTest.java27 * @summary Test equals and hashCode for descriptors
74 h = Arrays.hashCode((int[]) value);
78 h = value.hashCode();
79 expectedHashCode += names[i].toLowerCase().hashCode() ^ h;
82 System.out.println("Testing hashCode for " +
84 if (d.hashCode() != expectedHashCode) {
85 throw new Exception("Bad hashCode: expected " +
86 expectedHashCode + ", got " + d.hashCode() +
/openjdk7/jdk/src/share/classes/javax/management/openmbean/
H A DCompositeDataSupport.java409 * This ensures that <code> t1.equals(t2) </code> implies that <code> t1.hashCode()==t2.hashCode() </code>
412 * {@link Object#hashCode() Object.hashCode()}.
419 * of {@code Arrays.hashCode(e)} for arrays of primitive types.
424 public int hashCode() { method in class:CompositeDataSupport
425 int hashcode = compositeType.hashCode();
431 hashcode += Arrays.hashCode((byte[]) o);
433 hashcode += Arrays.hashCode((short[]) o);
435 hashcode += Arrays.hashCode((in
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/util/
H A DSymbolTable.java101 if (length == entry.characters.length && hash == entry.hashCode) {
122 entry.hashCode = hash;
143 if (length == entry.characters.length && hash ==entry.hashCode) {
156 entry.hashCode = hash;
214 if (length == entry.characters.length && hash == entry.hashCode) {
250 if (length == entry.characters.length && hash == entry.hashCode) {
281 int hashCode = 0; field in class:SymbolTable.Entry

Completed in 563 milliseconds

1234567891011>>