Searched defs:equals (Results 76 - 100 of 171) sorted by relevance

1234567

/libcore/luni/src/main/java/java/nio/
H A DShortBuffer.java141 * this equals to {@code otherBuffer}; a positive value if this is
191 public boolean equals(Object other) { method in class:ShortBuffer
/libcore/luni/src/main/java/java/nio/charset/
H A DCharset.java512 * Determines whether this charset equals to the given object. They are
520 public final boolean equals(Object obj) { method in class:Charset
523 return this.canonicalName.equals(that.canonicalName);
/libcore/luni/src/main/java/java/security/
H A DIdentity.java119 || ((format1 != null) && !format1.equals(format2))) {
123 return Arrays.equals(pk1.getEncoded(), pk2.getEncoded());
182 if (!name.equals(identity.name)) {
295 public final boolean equals(Object obj) { method in class:Identity
324 * @see Object#equals(Object)
325 * @see Identity#equals(Object)
/libcore/luni/src/main/java/java/sql/
H A DTimestamp.java244 public boolean equals(Object theObject) { method in class:Timestamp
246 return equals((Timestamp) theObject);
260 public boolean equals(Timestamp theTimestamp) { method in class:Timestamp
/libcore/luni/src/main/java/java/text/
H A DChoiceFormat.java213 public boolean equals(Object object) { method in class:ChoiceFormat
221 return Arrays.equals(choiceLimits, choice.choiceLimits)
222 && Arrays.equals(choiceFormats, choice.choiceFormats);
293 * @see #equals
H A DCollator.java222 public boolean equals(Object object) { method in class:Collator
227 return icuColl == null ? collator.icuColl == null : icuColl.equals(collator.icuColl);
241 public boolean equals(String string1, String string2) { method in class:Collator
/libcore/luni/src/main/java/java/util/
H A DAbstractMap.java84 @Override public boolean equals(Object object) { method in class:AbstractMap.SimpleImmutableEntry
90 return (key == null ? entry.getKey() == null : key.equals(entry
93 .equals(entry.getValue()));
147 @Override public boolean equals(Object object) { method in class:AbstractMap.SimpleEntry
153 return (key == null ? entry.getKey() == null : key.equals(entry
156 .equals(entry.getValue()));
187 * {@code key} equals.
193 if (key.equals(it.next().getKey())) {
211 * a value that {@code value} equals.
217 if (value.equals(i
242 @Override public boolean equals(Object object) { method in class:AbstractMap
[all...]
H A DHugeEnumSet.java230 public boolean equals(Object object) { method in class:HugeEnumSet
235 return super.equals(object);
237 return Arrays.equals(bits, ((HugeEnumSet<?>) object).bits);
H A DList.java153 public boolean equals(Object object); method in interface:List
H A DMiniEnumSet.java234 public boolean equals(Object object) { method in class:MiniEnumSet
236 return super.equals(object);
H A DUUID.java350 public boolean equals(Object object) { method in class:UUID
372 * {@link #equals(Object)} method.
/libcore/luni/src/main/java/java/util/jar/
H A DManifest.java216 public boolean equals(Object o) { method in class:Manifest
223 if (!mainAttributes.equals(((Manifest) o).mainAttributes)) {
226 return getEntries().equals(((Manifest) o).getEntries());
267 if (!name.equals(versionName)) {
/libcore/luni/src/main/java/java/util/logging/
H A DLevel.java122 if (name.equals(level.getName())) {
261 if (!name.equals(level.name)) {
321 * @return {@code true} if this object equals to the supplied object,
325 public boolean equals(Object o) { method in class:Level
/libcore/luni/src/main/java/javax/security/auth/x500/
H A DX500Principal.java161 public boolean equals(Object o) { method in class:X500Principal
169 return getCanonicalName().equals(principal.getCanonicalName());
215 if (CANONICAL.equals(format)) {
235 && subName.substring(0, 4).equals("OID.")) {
/libcore/luni/src/main/java/javax/xml/datatype/
H A DDuration.java833 * !new Duration("P1M").equals(new Duration("P30D"))
853 public boolean equals(final Object duration) { method in class:Duration
864 * Returns a hash code consistent with the definition of the equals method.
879 * new Duration(x.toString()).equals(x)
/libcore/luni/src/main/java/org/apache/harmony/security/x509/
H A DExtensions.java358 @Override public boolean equals(Object other) { method in class:Extensions
365 : (this.extensions.equals(that.extensions));
H A DTBSCertList.java140 public boolean equals(Object rc) { method in class:TBSCertList.RevokedCertificate
145 return userCertificate.equals(rcert.userCertificate)
150 : crlEntryExtensions.equals(rcert.crlEntryExtensions));
267 @Override public boolean equals(Object other) { method in class:TBSCertList
273 && signature.equals(that.signature)
274 && Arrays.equals(issuer.getEncoded(), that.issuer.getEncoded())
283 || revokedCertificates.equals(that.revokedCertificates))
286 : crlExtensions.equals(that.crlExtensions));
/libcore/luni/src/test/java/libcore/java/util/
H A DOldTreeMapTest.java40 public boolean equals(Object o1, Object o2) { method in class:OldTreeMapTest.ReversedComparator
99 reversedTreeMap.firstKey().equals(new Integer(2).toString()));
101 reversedTreeMap.lastKey().equals(new Integer(1).toString()));
111 element.toString()).equals(element));
143 anotherTreeMap.firstKey().equals(new Integer(2).toString()));
145 anotherTreeMap.lastKey().equals(new Integer(1).toString()));
291 assertTrue("Returned incorrect last key", tm.lastKey().equals(
351 .equals(element));
401 objArray[counter].toString()).equals(objArray[counter]));
/libcore/support/src/test/java/tests/support/
H A DSupport_GetPutFields.java66 public boolean equals(Object obj) { method in class:Support_GetPutFields.SimpleClass
72 return (a == other.getA() && b.equals(other.getB()));
88 public boolean equals(Object obj) { method in class:Support_GetPutFields
101 objectValue.equals(other.objectValue) &&
H A DSupport_GetPutFieldsDefaulted.java77 public boolean equals(Object obj) { method in class:Support_GetPutFieldsDefaulted.SimpleClass
83 return (a == other.getA() && b.equals(other.getB()));
99 public boolean equals(Object obj) { method in class:Support_GetPutFieldsDefaulted
112 objectValue.equals(other.objectValue) &&
H A DSupport_GetPutFieldsDeprecated.java68 public boolean equals(Object obj) { method in class:Support_GetPutFieldsDeprecated.SimpleClass
74 return (a == other.getA() && b.equals(other.getB()));
90 public boolean equals(Object obj) { method in class:Support_GetPutFieldsDeprecated
103 objectValue.equals(other.objectValue) &&
/libcore/dalvik/src/main/java/dalvik/system/profiler/
H A DHprofData.java105 @Override public boolean equals(Object o) { method in class:HprofData.ThreadEvent
119 return a == b || (a != null && a.equals(b));
172 @Override public boolean equals(Object o) { method in class:HprofData.StackTrace
177 return threadId == s.threadId && Arrays.equals(stackFrames, s.stackFrames);
225 @Override public boolean equals(Object o) { method in class:HprofData.Sample
230 return count == s.count && stackTrace.equals(s.stackTrace);
/libcore/dom/src/test/java/org/w3c/domts/
H A DDOMTestCase.java354 if ("text/html".equals(contentType)) {
358 if ("attribute".equals(context)) {
403 if ("text/html".equals(contentType)) {
404 if ("attribute".equals(context)) {
434 if ("text/html".equals(contentType)) {
435 if ("attribute".equals(context)) {
449 * Asserts that expected.equals(actual) is true
581 if ("text/html".equals(contentType)) {
582 if ("attribute".equals(context)) {
831 if ("text/html".equals(getContentTyp
894 public boolean equals(String expected, String actual) { method in class:DOMTestCase
907 public boolean equals(int expected, int actual) { method in class:DOMTestCase
920 public boolean equals(double expected, double actual) { method in class:DOMTestCase
933 public boolean equals(Collection expected, Collection actual) { method in class:DOMTestCase
946 public boolean equals(List expected, List actual) { method in class:DOMTestCase
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DIdentityHashMap2Test.java179 public boolean equals(Object o) { method in class:IdentityHashMap2Test.TestKey
180 return o instanceof TestKey && foo.equals(((TestKey) o).foo);
282 assertTrue("Wrong result", it.next().equals(list.get(0)));
284 assertTrue("Wrong contents", map.keySet().iterator().next().equals(
299 assertTrue("Wrong result 2", it2.next().equals(next));
301 assertTrue("Wrong contents 2", map2.keySet().iterator().next().equals(
336 .equals((new Integer(i))));
353 assertTrue("Remove returned incorrect value", x.equals(new Integer(9)));
375 * java.util.IdentityHashMap#equals(java.lang.Object)
399 !mapOne.equals(mapTw
[all...]
H A DRefSortedMap.java70 public boolean equals(Object object) { method in class:RefSortedMap.MapEntry
76 return (getKey() == null ? entry.getKey() == null : getKey().equals(entry
79 .equals(entry.getValue()));
312 if (arg0.equals(v)) {

Completed in 947 milliseconds

1234567