Home
last modified time | relevance | path

Searched refs:object2 (Results 1 – 7 of 7) 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()
/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()