Searched refs:another (Results 1 - 7 of 7) sorted by relevance

/libcore/luni/src/main/java/java/lang/
H A DComparable.java42 * @param another
44 * @return a negative integer if this instance is less than {@code another};
46 * {@code another}; 0 if this instance has the same order as
47 * {@code another}.
49 * if {@code another} cannot be converted into something
52 int compareTo(T another); argument
/libcore/luni/src/main/java/java/security/acl/
H A DPermission.java24 boolean equals(Object another); argument
/libcore/luni/src/main/java/java/net/
H A DProxy.java136 Proxy another = (Proxy) obj;
138 return (type == another.type) && address.equals(another.address);
/libcore/luni/src/test/java/libcore/java/util/
H A DCollectionsTest.java131 public int compareTo(IntegerWithExtremeComparator another) { argument
132 if (another.value == this.value) {
134 } else if (another.value > this.value) {
/libcore/luni/src/main/java/java/io/
H A DFile.java289 * file {@code another}. The ordering is platform dependent.
291 * @param another
297 public int compareTo(File another) { argument
298 return this.getPath().compareTo(another.getPath());
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DCollectionsTest.java895 // test replacing null elements with another value
2035 public int compareTo(Object another) { argument
2037 if (another instanceof MyComparable) {
2038 length = (((MyComparable) another).s).length();
2040 length = (Integer) another;
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
H A DObjectInputStreamTest.java1012 Test another = (Test) in.readObject();
1014 assertEquals(test, another);

Completed in 595 milliseconds