Searched refs:obj2 (Results 1 – 8 of 8) sorted by relevance
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | MethodHandleStatics.java | 149 …ic*/ static RuntimeException newIllegalArgumentException(String message, Object obj, Object obj2) { in newIllegalArgumentException() argument 150 return new IllegalArgumentException(message(message, obj, obj2)); in newIllegalArgumentException() 165 private static String message(String message, Object obj, Object obj2) { in message() argument 166 if (obj != null || obj2 != null) message = message + ": " + obj + ", " + obj2; in message()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ObjectTest.java | 64 Object obj2 = new Object(); in test_equalsLjava_lang_Object() local 67 assertTrue("Different objects should not be equal", !obj1.equals(obj2)); in test_equalsLjava_lang_Object() 93 Object obj2; in test_hashCode() local 97 obj2 = new Object(); in test_hashCode() 102 assertEquals("Same object should have same hash.", obj2.hashCode(), obj2.hashCode()); in test_hashCode()
|
D | StringBuffer2Test.java | 176 Object obj2 = new Object(); in test_appendLjava_lang_Object() local 178 sb.append(obj2); in test_appendLjava_lang_Object() 180 obj1.toString() + obj2.toString())); in test_appendLjava_lang_Object()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixFileSystemProvider.java | 313 public boolean isSameFile(Path obj1, Path obj2) throws IOException { in isSameFile() argument 315 if (file1.equals(obj2)) in isSameFile() 317 if (obj2 == null) in isSameFile() 319 if (!(obj2 instanceof UnixPath)) in isSameFile() 321 UnixPath file2 = (UnixPath)obj2; in isSameFile() 440 public void createSymbolicLink(Path obj1, Path obj2, FileAttribute<?>... attrs) in createSymbolicLink() argument 444 UnixPath target = UnixPath.toUnixPath(obj2); in createSymbolicLink() 469 public void createLink(Path obj1, Path obj2) throws IOException { in createLink() argument 471 UnixPath existing = UnixPath.toUnixPath(obj2); in createLink()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | RuleBasedCollatorTest.java | 206 Object obj2 = "b"; in testCollator_GetInstance() local 207 assertEquals(-1, coll.compare(obj1, obj2)); in testCollator_GetInstance()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeTextProvider.java | 112 public int compare(Entry<String, Long> obj1, Entry<String, Long> obj2) { 113 return obj2.getKey().length() - obj1.getKey().length(); // longest to shortest
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationStressTest.java | 578 Object obj2 = null; in test_25_available() local 583 obj2 = ois.readObject(); in test_25_available() 589 assertTrue("available returned incorrect value", FOO.equals(obj2)); in test_25_available()
|
D | ObjectOutputStreamTest.java | 1277 Object obj2; in test_replaceObject() local 1291 obj2 = ois.readObject(); in test_replaceObject() 1300 obj2); in test_replaceObject()
|