Searched refs:object1 (Results 1 - 6 of 6) sorted by relevance

/dalvik/libcore/luni/src/main/java/java/util/
H A DComparator.java35 * {@code (object1, object2)} should form an <i>equivalence relation</i>.
46 * @param object1
49 * a second {@code Object} to compare with {@code object1}.
50 * @return an integer < 0 if {@code object1} is less than {@code object2}, 0 if they are
51 * equal, and > 0 if {@code object1} is greater than {@code object2}.
55 public int compare(T object1, T object2); argument
/dalvik/libcore/text/src/main/java/java/text/
H A DCollator.java222 * @param object1
226 * @return a negative value if {@code object1} is less than {@code object2},
227 * 0 if they are equal, and a positive value if {@code object1} is
230 * if {@code object1} or {@code object2} is not a {@code String}.
232 public int compare(Object object1, Object object2) { argument
233 return compare((String) object1, (String) object2);
/dalvik/libcore/luni/src/test/java/tests/api/java/util/
H A DPriorityQueueTest.java989 public int compare(E object1, E object2) { argument
990 int hashcode1 = object1.hashCode();
1005 public int compare(String object1, String object2) { argument
1006 int length1 = object1.length();
1021 public int compare(E object1, E object2) { argument
H A DAbstractMapTest.java137 public int compare(Object object1, Object object2) {
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/
H A DAbstractMapTest.java137 public int compare(Object object1, Object object2) {
/dalvik/libcore/luni/src/test/java/tests/api/java/io/
H A DSerializationStressTest3.java329 new ObjectStreamField("object1", Vector.class),
348 Vector object1 = (Vector) in.readObject();
349 passed = int1 == 0xA9 && object1.equals(v1);
355 fields.put("object1", v1);

Completed in 178 milliseconds