Searched defs:compareTo (Results 1 - 25 of 43) sorted by last modified time

12

/libcore/luni/src/main/java/java/util/concurrent/
H A DConcurrentSkipListMap.java617 public int compareTo(K k2) { method in class:ConcurrentSkipListMap.ComparableUsingComparator
646 return ((Comparable<? super K>)k1).compareTo(k2);
698 if (key.compareTo(k) > 0) {
775 int c = key.compareTo(n.key);
835 int c = key.compareTo(n.key);
958 int c = key.compareTo(n.key);
1035 int c = key.compareTo(n.key);
1317 int c = key.compareTo(n.key);
H A DScheduledThreadPoolExecutor.java211 public int compareTo(Delayed other) { method in class:ScheduledThreadPoolExecutor.ScheduledFutureTask
476 * Long.MAX_VALUE of each other, to avoid overflow in compareTo.
850 if (key.compareTo(e) >= 0)
870 if (right < size && c.compareTo(queue[right]) > 0)
872 if (key.compareTo(c) <= 0)
/libcore/luni/src/main/java/libcore/icu/
H A DCollationKeyICU.java34 @Override public int compareTo(CollationKey other) { method in class:CollationKeyICU
81 return compareTo((CollationKey) object) == 0;
/libcore/luni/src/test/java/tests/api/java/util/
H A DCollectionsTest.java69 return -((MyInt) o1).compareTo((MyInt) o2);
73 return ((MyInt) o1).compareTo((MyInt) o2);
259 public int compareTo(MyInt object) { method in class:CollectionsTest.MyInt
746 if (((Integer) list.get(counter)).compareTo((Integer)list.get(counter + 1)) > 0) {
842 ((Integer) ll.get(counter)).compareTo((Integer)ll.get(counter + 1)) < 0);
848 .compareTo((Integer)reversedLinkedList.get(counter + 1)) < 0);
896 ((MyInt) myll.get(counter)).compareTo((MyInt) myll
/libcore/crypto/src/main/java/org/conscrypt/
H A DFileClientSessionCache.java356 public int compareTo(File another) { method in class:FileClientSessionCache.CacheFile
360 return super.compareTo(another);
/libcore/dex/src/main/java/com/android/dex/
H A DAnnotation.java54 @Override public int compareTo(Annotation other) { method in class:Annotation
55 return encodedAnnotation.compareTo(other.encodedAnnotation);
H A DEncodedValue.java44 @Override public int compareTo(EncodedValue other) { method in class:EncodedValue
H A DFieldId.java46 public int compareTo(FieldId other) { method in class:FieldId
H A DMethodId.java46 public int compareTo(MethodId other) { method in class:MethodId
H A DProtoId.java34 public int compareTo(ProtoId other) { method in class:ProtoId
H A DTableOfContents.java225 public int compareTo(Section section) { method in class:TableOfContents.Section
H A DTypeList.java37 @Override public int compareTo(TypeList other) { method in class:TypeList
/libcore/libart/src/main/java/java/lang/
H A DEnum.java150 public final int compareTo(E o) { method in class:Enum
H A DString.java560 public native int compareTo(String string); method in class:String
/libcore/libdvm/src/main/java/java/lang/
H A DEnum.java149 public final int compareTo(E o) { method in class:Enum
H A DString.java629 public native int compareTo(String string); method in class:String
/libcore/luni/src/main/java/java/io/
H A DFile.java299 public int compareTo(File another) { method in class:File
300 return this.getPath().compareTo(another.getPath());
H A DObjectStreamField.java127 public int compareTo(Object o) { method in class:ObjectStreamField
139 return this.getName().compareTo(f.getName());
/libcore/luni/src/main/java/java/lang/
H A DBoolean.java123 public int compareTo(Boolean that) { method in class:Boolean
H A DByte.java108 public int compareTo(Byte object) { method in class:Byte
H A DCharacter.java1569 public int compareTo(Character c) { method in class:Character
H A DComparable.java26 * The order rule must be both transitive (if {@code x.compareTo(y) < 0} and
27 * {@code y.compareTo(z) < 0}, then {@code x.compareTo(z) < 0} must hold) and
28 * invertible (the sign of the result of x.compareTo(y) must be equal to the
29 * negation of the sign of the result of y.compareTo(x) for all combinations of
33 * result of x.compareTo(y) is zero, then the result of x.equals(y) should be
52 int compareTo(T another); method in interface:Comparable
H A DDouble.java159 public int compareTo(Double object) { method in class:Double
H A DFloat.java163 public int compareTo(Float object) { method in class:Float
H A DInteger.java123 public int compareTo(Integer object) { method in class:Integer

Completed in 759 milliseconds

12