Searched defs:hashCode (Results 1 - 25 of 141) sorted by relevance

123456

/libcore/luni/src/main/java/java/security/
H A DPrincipal.java49 * required by the general contract of {@link Object#hashCode}.
55 public int hashCode(); method in interface:Principal
H A DCodeSigner.java106 * required by the general contract of {@link Object#hashCode}.
113 public int hashCode() { method in class:CodeSigner
115 hash = signerCertPath.hashCode()
116 ^ (timestamp == null ? 0 : timestamp.hashCode());
H A DTimestamp.java75 * @see #hashCode
111 * required by the general contract of {@link Object#hashCode}.
118 public int hashCode() { method in class:Timestamp
120 hash = timestamp.hashCode() ^ signerCertPath.hashCode();
/libcore/luni/src/main/java/java/lang/annotation/
H A DAnnotation.java91 * (0x7f * n.hashCode()) ^ v.hashCode())}, where {@code n} is the
97 * Integer.valueOf(v).hashCode()} is used for an {@code int} value
102 * using the corresponding {@code hashCode(v)} helper function in
107 * calling their {@code hashCode} method.
113 int hashCode(); method in interface:Annotation
/libcore/luni/src/main/java/java/security/spec/
H A DECFieldFp.java92 public int hashCode() { method in class:ECFieldFp
93 return p.hashCode();
H A DECPoint.java110 public int hashCode() { method in class:ECPoint
112 return affineX.hashCode() * 31 + affineY.hashCode();
H A DEllipticCurve.java188 public int hashCode() { method in class:EllipticCurve
192 hash0 = hash0 * 31 + field.hashCode();
193 hash0 = hash0 * 31 + a.hashCode();
194 hash0 = hash0 * 31 + b.hashCode();
/libcore/luni/src/main/java/java/sql/
H A DRowId.java35 int hashCode(); method in interface:RowId
/libcore/luni/src/main/java/java/util/
H A DAbstractSet.java45 * @see #hashCode
75 public int hashCode() { method in class:AbstractSet
80 result += next == null ? 0 : next.hashCode();
/libcore/luni/src/main/java/libcore/net/http/
H A DChallenge.java39 @Override public int hashCode() { method in class:Challenge
40 return scheme.hashCode() + 31 * realm.hashCode();
/libcore/luni/src/main/java/libcore/util/
H A DObjects.java33 public static int hashCode(Object o) { method in class:Objects
34 return (o == null) ? 0 : o.hashCode();
/libcore/luni/src/main/java/java/lang/
H A DObject.java68 * <p>If you override {@code equals}, you should also override {@code hashCode}: equal
73 * <a name="writing_hashCode"><h4>Writing a correct {@code hashCode} method</h4></a>
74 * <p>Follow this style to write a canonical {@code hashCode} method:
76 * &#x0040;Override public int hashCode() {
95 * result = 31 * result + Arrays.hashCode(arrayField);
97 * result = 31 * result + referenceField.hashCode();
100 * : nullableReferenceField.hashCode());
107 * {@code hashCode} implementation, because that silently and non-obviously breaks any future
110 * &#x0040;Override public int hashCode() {
179 * #hashCode()} method
259 public native int hashCode(); method in class:Object
[all...]
H A DEnum.java118 public final int hashCode() { method in class:Enum
119 return ordinal + (name == null ? 0 : name.hashCode());
/libcore/luni/src/main/java/java/net/
H A DInterfaceAddress.java91 public int hashCode() { method in class:InterfaceAddress
92 int hashCode = address == null ? 0 : -address.hashCode();
93 hashCode += broadcastAddress == null ? 0 : broadcastAddress.hashCode();
94 hashCode += prefixLength;
95 return hashCode;
H A DProxy.java126 * @see #hashCode
147 public final int hashCode() { method in class:Proxy
149 ret += type.hashCode();
151 ret += address.hashCode();
/libcore/luni/src/main/java/java/security/cert/
H A DX509CRLEntry.java65 public int hashCode() { method in class:X509CRLEntry
/libcore/luni/src/main/java/java/text/
H A DParsePosition.java49 * @see #hashCode
80 public int hashCode() { method in class:ParsePosition
H A DRuleBasedCollator.java409 public int hashCode() { method in class:RuleBasedCollator
410 return icuColl.getRules().hashCode();
423 * @see #hashCode
/libcore/luni/src/main/java/javax/crypto/spec/
H A DRC2ParameterSpec.java151 public int hashCode() { method in class:RC2ParameterSpec
H A DRC5ParameterSpec.java200 public int hashCode() { method in class:RC5ParameterSpec
H A DSecretKeySpec.java149 public int hashCode() { method in class:SecretKeySpec
/libcore/luni/src/main/java/javax/security/cert/
H A DCertificate.java53 * @see #hashCode
78 public int hashCode() { method in class:Certificate
/libcore/luni/src/main/java/libcore/icu/
H A DCollationKeyICU.java27 private int hashCode; field in class:CollationKeyICU
94 @Override public int hashCode() { method in class:CollationKeyICU
95 if (hashCode == 0) {
100 hashCode = (hashCode * 37) + bytes[i];
104 if (hashCode == 0) {
105 hashCode = 1;
108 return hashCode;
/libcore/luni/src/main/java/org/apache/harmony/luni/lang/reflect/
H A DImplForWildcard.java54 public int hashCode() { method in class:ImplForWildcard
55 return 31 * Arrays.hashCode(getLowerBounds()) +
56 Arrays.hashCode(getUpperBounds());
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DByteArray.java22 * Byte array wrapper for hashtable use. Implements equals() and hashCode().
26 private final int hashCode; field in class:ByteArray
30 this.hashCode = Arrays.hashCode(bytes);
33 @Override public int hashCode() { method in class:ByteArray
34 return hashCode;

Completed in 594 milliseconds

123456