Searched refs:another (Results 1 - 6 of 6) 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/crypto/src/main/java/org/conscrypt/
H A DFileClientSessionCache.java356 public int compareTo(File another) { argument
358 long result = lastModified() - another.lastModified();
360 return super.compareTo(another);
/libcore/luni/src/main/java/java/io/
H A DFile.java291 * file {@code another}. The ordering is platform dependent.
293 * @param another
299 public int compareTo(File another) { argument
300 return this.getPath().compareTo(another.getPath());
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
H A DObjectInputStreamTest.java636 Test another = (Test) in.readObject();
638 assertEquals(test, another);

Completed in 167 milliseconds