Searched defs:equals (Results 351 - 375 of 1030) sorted by relevance

<<11121314151617181920>>

/openjdk7/jdk/test/java/io/Serializable/classDescHooks/
H A DClassDescHooks.java39 public boolean equals(Object obj) { method in class:Foo
42 return s.equals(ofoo.s) && i.equals(ofoo.i) && l.equals(ofoo.l);
111 if (! Arrays.equals(buf1, buf2))
119 if (! foo.equals(foocopy))
145 if (! foo.equals(foocopy))
/openjdk7/jdk/test/java/io/Serializable/skipToEndOfBlockData/
H A DSkipToEndOfBlockData.java56 public boolean equals(Object obj) { method in class:MismatchedRead
88 public boolean equals(Object obj) { method in class:MismatchedReadExternal
103 public boolean equals(Object obj) { method in class:InnocentBystander
108 return s.equals(other.s);
140 if (! (mr.equals(mrcopy) && mre.equals(mrecopy) && ib.equals(ibcopy)))
/openjdk7/jdk/test/java/lang/management/CompositeData/
H A DOpenTypeConverter.java94 public boolean equals(Object o) { method in class:OpenTypeConverter.InProgress
172 if (rest.equals("") || method.getParameterTypes().length > 0
173 || type == void.class || rest.equals("Class"))
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/api/
H A DJavacScope.java97 public boolean equals(Object other) { method in class:JavacScope
100 return (env.equals(s.env)
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DPair.java49 private static boolean equals(Object x, Object y) { method in class:Pair
50 return (x == null && y == null) || (x != null && x.equals(y));
53 public boolean equals(Object other) { method in class:Pair
56 equals(fst, ((Pair<?,?>)other).fst) &&
57 equals(snd, ((Pair<?,?>)other).snd);
/openjdk7/langtools/src/share/classes/javax/lang/model/element/
H A DElement.java45 * <p> Elements should be compared using the {@link #equals(Object)}
257 boolean equals(Object obj); method in interface:Element
262 * @see #equals
/openjdk7/jdk/src/share/classes/sun/security/krb5/
H A DKrbException.java139 @Override public boolean equals(Object obj) { method in class:KrbException
153 (error.equals(other.error));
/openjdk7/jdk/src/share/classes/sun/security/x509/
H A DAccessDescription.java90 public boolean equals(Object obj) { method in class:AccessDescription
99 return (accessMethod.equals(that.getAccessMethod()) &&
100 accessLocation.equals(that.getAccessLocation()));
105 if (accessMethod.equals(Ad_CAISSUERS_Id)) {
107 } else if (accessMethod.equals(Ad_CAREPOSITORY_Id)) {
109 } else if (accessMethod.equals(Ad_TIMESTAMPING_Id)) {
111 } else if (accessMethod.equals(Ad_OCSP_Id)) {
H A DDNSName.java142 public boolean equals(Object obj) { method in class:DNSName
205 if (inName.equals(thisName))
H A DDistributionPointName.java195 public boolean equals(Object obj) { method in class:DistributionPointName
204 return equals(this.fullName, other.fullName) &&
205 equals(this.relativeName, other.relativeName);
244 * Utility function for a.equals(b) where both a and b may be null.
246 private static boolean equals(Object a, Object b) { method in class:DistributionPointName
247 return (a == null) ? (b == null) : a.equals(b);
H A DGeneralNames.java129 * @returns true iff this equals other
131 public boolean equals(Object obj) { method in class:GeneralNames
139 return this.names.equals(other.names);
H A DOIDName.java114 public boolean equals(Object obj) { method in class:OIDName
123 return oid.equals(other.oid);
156 else if (this.equals((OIDName)inputName))
H A DRFC822Name.java136 public boolean equals(Object obj) { method in class:RFC822Name
194 if (inName.equals(thisName)) {
/openjdk7/jdk/src/share/classes/sun/swing/
H A DImageCache.java66 else if (entry.equals(config, w, h, args)) {
140 public boolean equals(GraphicsConfiguration config, method in class:ImageCache.Entry
143 ((this.config != null && this.config.equals(config)) ||
155 (a1 != null && !a1.equals(a2))) {
/openjdk7/jdk/src/share/classes/sun/tools/java/
H A DClassDeclaration.java206 if ((definition != null) && !getName().equals(definition.getName())) {
232 public boolean equals(Object obj) { method in class:ClassDeclaration
234 return type.equals(((ClassDeclaration)obj).type);
/openjdk7/jdk/src/share/classes/sun/tools/jstat/
H A DOptionFormat.java47 public boolean equals(Object o) { method in class:OptionFormat
/openjdk7/jdk/src/share/classes/sun/tools/tree/
H A DIntegerExpression.java79 public boolean equals(int i) { method in class:IntegerExpression
H A DStringExpression.java49 public boolean equals(String s) { method in class:StringExpression
50 return value.equals(s);
80 public boolean equals(Object obj) { method in class:StringExpression
82 return value.equals(((StringExpression)obj).value);
/openjdk7/jdk/test/java/util/PluggableLocale/providersrc/
H A DFooNumberFormat.java58 public boolean equals(Object other) { method in class:FooNumberFormat
60 && df.equals(((FooNumberFormat)other).df);
/openjdk7/jdk/src/share/classes/sun/reflect/generics/reflectiveObjects/
H A DParameterizedTypeImpl.java157 * implement an equals() method that equates any two instances
162 public boolean equals(Object o) { method in class:ParameterizedTypeImpl
176 ownerType.equals(thatOwner));
179 rawType.equals(thatRawType));
181 boolean typeArgEquality = Arrays.equals(actualTypeArguments, // avoid clone
196 ownerType.equals(thatOwner)) &&
199 rawType.equals(thatRawType)) &&
200 Arrays.equals(actualTypeArguments, // avoid clone
/openjdk7/jdk/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/config/
H A DResultLogConfig.java167 public boolean equals(Object o) { method in class:ResultLogConfig
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/
H A DQName.java44 (namespace != null && !namespace.equals(Constants.EMPTYSTRING)) ?
62 public boolean equals(Object other) { method in class:QName
65 && _stringRep.equals(((QName) other).getStringRep()));
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dtd/
H A DXMLDTDDescription.java157 public boolean equals(Object desc) { method in class:XMLDTDDescription
159 if (!getGrammarType().equals(((XMLGrammarDescription)desc).getGrammarType())) {
165 if ((dtdDesc.fRootName) != null && !dtdDesc.fRootName.equals(fRootName)) {
195 if (!fExpandedSystemId.equals(dtdDesc.fExpandedSystemId)) {
203 if (!fPublicId.equals(dtdDesc.fPublicId)) {
215 * Because our .equals method is so complex, we just return a very
216 * simple hash that might avoid calls to the equals method a bit...
226 // give up; hope .equals can handle it:
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/xs/
H A DBase64BinaryDV.java72 public boolean equals(Object obj) { method in class:Base64BinaryDV.XBase64
H A DFloatDV.java73 else if ( s.equals("INF") ) {
76 else if ( s.equals("-INF") ) {
79 else if ( s.equals("NaN") ) {
87 public boolean equals(Object val) { method in class:FloatDV.XFloat

Completed in 1359 milliseconds

<<11121314151617181920>>