Home
last modified time | relevance | path

Searched refs:object2 (Results 1 – 8 of 8) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/
DOldPriorityQueueTest.java87 public int compare(String object1, String object2) { in compare() argument
89 int length2 = object2.length(); in compare()
103 public int compare(E object1, E object2) { in compare() argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DPriorityQueueTest.java829 public int compare(E object1, E object2) { in compare() argument
831 int hashcode2 = object2.hashCode(); in compare()
845 public int compare(String object1, String object2) { in compare() argument
847 int length2 = object2.length(); in compare()
861 public int compare(E object1, E object2) { in compare() argument
DAbstractMapTest.java120 public int compare(Object object1, Object object2) { in test_removeLjava_lang_Object()
DCollectionsTest.java2071 public int compare(Object object1, Object object2) { in compare() argument
2074 if (object2 instanceof String) { in compare()
2075 length = ((String) object2).length(); in compare()
2077 length = (Integer) object2; in compare()
DArraysTest.java1614 public int compare(Element object1, Element object2) { in test_sort$Ljava_lang_ObjectLjava_util_Comparator_stable()
1615 return object1.value - object2.value; in test_sort$Ljava_lang_ObjectLjava_util_Comparator_stable()
/libcore/ojluni/src/main/java/java/security/cert/
DX509CertSelector.java875 static boolean equalNames(Collection<?> object1, Collection<?> object2) { in equalNames() argument
876 if ((object1 == null) || (object2 == null)) { in equalNames()
877 return object1 == object2; in equalNames()
879 return object1.equals(object2); in equalNames()
/libcore/ojluni/src/main/native/
Djni_util.h255 JNU_Equals(JNIEnv *env, jobject object1, jobject object2);
Djni_util.c952 JNU_Equals(JNIEnv *env, jobject object1, jobject object2) in JNU_Equals() argument
959 return (*env)->CallBooleanMethod(env, object1, mid, object2); in JNU_Equals()