Searched defs:equals (Results 51 - 75 of 171) sorted by relevance

1234567

/libcore/luni/src/main/java/java/text/
H A DStringCharacterIterator.java137 public boolean equals(Object object) { method in class:StringCharacterIterator
142 return string.equals(it.string) && start == it.start && end == it.end
/libcore/luni/src/main/java/java/util/
H A DMap.java48 public boolean equals(Object object); method in interface:Map.Entry
69 * @see #equals(Object)
134 public boolean equals(Object object); method in interface:Map
151 * @see #equals(Object)
/libcore/luni/src/main/java/java/util/concurrent/
H A DCopyOnWriteArraySet.java107 * <tt>(o==null&nbsp;?&nbsp;e==null&nbsp;:&nbsp;o.equals(e))</tt>.
192 * <tt>(o==null&nbsp;?&nbsp;e==null&nbsp;:&nbsp;o.equals(e))</tt>,
209 * <tt>(e==null&nbsp;?&nbsp;e2==null&nbsp;:&nbsp;e.equals(e2))</tt>.
319 * {@code (e1==null ? e2==null : e1.equals(e2))}.
324 public boolean equals(Object o) { method in class:CopyOnWriteArraySet
360 return (o1 == null) ? o2 == null : o1.equals(o2);
/libcore/luni/src/main/java/javax/xml/namespace/
H A DQName.java44 * <strong><em>NOT</em></strong> used in {@link #equals(Object)
45 * QName.equals(Object)} or to compute the {@link #hashCode()
91 serialVersionUID = !"1.0".equals(compatPropValue) ? defaultSerialVersionUID : compatibilitySerialVersionUID;
300 * uses <code>String.equals()</code> to check equality of the
305 * java.lang.Object#equals(Object) Object.equals(Object)}</p>
312 public final boolean equals(Object objectToTest) { method in class:QName
320 return localPart.equals(qName.localPart) && namespaceURI.equals(qName.namespaceURI);
352 * <code>.equals(XMLConstant
[all...]
/libcore/luni/src/main/java/libcore/reflect/
H A DAnnotationFactory.java120 if (val.name.equals(defs[i].name)) {
147 if (el2.name.equals(el1.name)) {
155 if (val.name.equals(def.name)) {
175 * @see AnnotationMember#equals(Object)
177 public boolean equals(Object obj) { method in class:AnnotationFactory
193 if (el1.equals(el2)) {
220 if (!el.value.equals(otherValue)) {
280 if ("annotationType".equals(name)) {
282 } else if ("toString".equals(name)) {
284 } else if ("hashCode".equals(nam
[all...]
H A DAnnotationMember.java190 * @see java.lang.annotation.Annotation#equals(Object)
192 public boolean equals(Object obj) { method in class:AnnotationMember
200 if (name.equals(that.name) && tag == that.tag) {
207 return value.equals(that.value);
216 * false otherwise. Appropriate overloaded method of Arrays.equals()
218 * @see java.util.Arrays#equals(java.lang.Object[], java.lang.Object[])
224 return Arrays.equals((Object[])value, (Object[])otherValue);
231 return Arrays.equals((int[])value, (int[])otherValue);
233 return Arrays.equals((byte[])value, (byte[])otherValue);
235 return Arrays.equals((shor
[all...]
H A DTypeVariableImpl.java35 public boolean equals(Object o) { method in class:TypeVariableImpl
40 return getName().equals(that.getName()) &&
41 getGenericDeclaration().equals(that.getGenericDeclaration());
75 if (name.equals(var.getName())) {
/libcore/luni/src/main/java/org/apache/harmony/security/utils/
H A DObjectIdentifier.java130 public boolean equals(Object o) { method in class:ObjectIdentifier
137 return Arrays.equals(oid, ((ObjectIdentifier) o).oid);
/libcore/luni/src/test/java/libcore/util/
H A DSerializationTester.java40 * {@link Object#equals} isn't appropriate or sufficient for this tester's
43 protected boolean equals(T a, T b) { method in class:SerializationTester
44 return a.equals(b);
63 equals(value, deserialized));
68 equals(value, reserialized));
/libcore/support/src/test/java/tests/support/
H A DSupport_Format.java133 public boolean equals(Object obj) { method in class:Support_Format.FieldContainer
140 && attribute == fc.attribute && value.equals(fc.value));
/libcore/dom/src/test/java/org/w3c/domts/
H A DDOMTestFramework.java160 boolean equals(String expected, String actual); method in interface:DOMTestFramework
162 boolean equals(int expected, int actual); method in interface:DOMTestFramework
164 boolean equals(boolean expected, boolean actual); method in interface:DOMTestFramework
166 boolean equals(double expected, double actual); method in interface:DOMTestFramework
168 boolean equals(Collection expected, Collection actual); method in interface:DOMTestFramework
170 boolean equals(List expected, List actual); method in interface:DOMTestFramework
H A DDOMTestInnerClass.java157 public boolean equals(String expected, String actual) { method in class:DOMTestInnerClass
158 return test.equals(expected, actual);
161 public boolean equals(int expected, int actual) { method in class:DOMTestInnerClass
162 return test.equals(expected, actual);
165 public boolean equals(double expected, double actual) { method in class:DOMTestInnerClass
166 return test.equals(expected, actual);
169 public boolean equals(Collection expected, Collection actual) { method in class:DOMTestInnerClass
170 return test.equals(expected, actual);
173 public boolean equals(List expected, List actual) { method in class:DOMTestInnerClass
174 return test.equals(expecte
[all...]
H A DJUnitTestCaseAdapter.java249 boolean equals = (expected != null && actual != null && size == actual.size());
250 if(equals) {
256 while(actualIter.hasNext() && equals) {
259 equals = false;
260 while(expectedIter.hasNext() && !equals) {
263 equals = true;
269 assertTrue(assertID,equals);
277 boolean equals = (expected != null && actual != null && size == actual.size());
278 if(equals) {
313 boolean equals
419 public boolean equals(String expected, String actual) { method in class:JUnitTestCaseAdapter
423 public boolean equals(int expected, int actual) { method in class:JUnitTestCaseAdapter
427 public boolean equals(boolean expected, boolean actual) { method in class:JUnitTestCaseAdapter
431 public boolean equals(double expected, double actual) { method in class:JUnitTestCaseAdapter
435 public boolean equals(Collection expected, Collection actual) { method in class:JUnitTestCaseAdapter
460 public boolean equals(List expected, List actual) { method in class:JUnitTestCaseAdapter
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DObjectInputStream2Test.java104 public boolean equals(Object o) { method in class:ObjectInputStream2Test.LongString
110 return l.lString.equals(l.lString);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DTreeSetTest.java35 public boolean equals(Object o1, Object o2) { method in class:TreeSetTest.ReversedIntegerComparator
76 myTreeSet.first().equals(new Integer(2)));
79 myTreeSet.last().equals(new Integer(1)));
300 * Tests equals() method.
312 assertFalse("Sets should not be equal 1", s1.equals(s2));
313 assertFalse("Sets should not be equal 2", s2.equals(s1));
320 assertFalse("Sets should not be equal 3", s1.equals(s2));
321 assertFalse("Sets should not be equal 4", s2.equals(s1));
/libcore/libart/src/main/java/java/lang/reflect/
H A DAbstractMethod.java154 @Override public boolean equals(Object other) { method in class:AbstractMethod
H A DConstructor.java131 @Override public boolean equals(Object other) { method in class:Constructor
132 return super.equals(other);
H A DMethod.java200 @Override public boolean equals(Object other) { method in class:Method
201 return super.equals(other);
212 return getName().equals(m.getName()) &&
/libcore/luni/src/main/java/java/lang/
H A DByte.java159 public boolean equals(Object object) { method in class:Byte
H A DShort.java158 public boolean equals(Object object) { method in class:Short
/libcore/luni/src/main/java/java/net/
H A DURLStreamHandler.java306 protected boolean equals(URL a, URL b) { method in class:URLStreamHandler
/libcore/luni/src/main/java/java/nio/
H A DDoubleBuffer.java142 * equals to {@code other}; a positive value if this is greater
190 * Unlike {@link Double#equals}, this method considers {@code -0.0} and
199 public boolean equals(Object other) { method in class:DoubleBuffer
H A DFloatBuffer.java143 * this equals to {@code otherBuffer}; a positive value if this is
191 * Unlike {@link Float#equals}, this method considers {@code -0.0} and
200 public boolean equals(Object other) { method in class:FloatBuffer
H A DIntBuffer.java139 * equals to {@code other}; a positive value if this is greater
189 public boolean equals(Object other) { method in class:IntBuffer
H A DLongBuffer.java141 * this equals to {@code otherBuffer}; a positive value if this is
191 public boolean equals(Object other) { method in class:LongBuffer

Completed in 704 milliseconds

1234567