Searched defs:compareTo (Results 1 - 25 of 43) sorted by relevance

12

/libcore/luni/src/main/java/java/lang/
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 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 DShort.java107 public int compareTo(Short object) { method in class:Short
/libcore/luni/src/main/java/java/text/
H A DCollationKey.java30 * Both the method {@code CollationKey.compareTo(CollationKey)} and the method
38 * {@code CollationKey.compareTo(CollationKey)} executes, it performs bitwise
65 * if( keys[i].compareTo( keys[j] ) &gt; 0 )
95 public abstract int compareTo(CollationKey value); method in class:CollationKey
/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 DTypeList.java37 @Override public int compareTo(TypeList other) { method in class:TypeList
H A DTableOfContents.java225 public int compareTo(Section section) { method in class:TableOfContents.Section
/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/libart/src/main/java/java/lang/
H A DEnum.java150 public final int compareTo(E o) { method in class:Enum
/libcore/libdvm/src/main/java/java/lang/
H A DEnum.java149 public final int compareTo(E o) { method in class:Enum
/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/luni/src/main/java/java/io/
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/nio/
H A DDoubleBuffer.java147 public int compareTo(DoubleBuffer otherBuffer) { method in class:DoubleBuffer
H A DFloatBuffer.java148 public int compareTo(FloatBuffer otherBuffer) { method in class:FloatBuffer
H A DIntBuffer.java144 public int compareTo(IntBuffer otherBuffer) { method in class:IntBuffer
H A DLongBuffer.java146 public int compareTo(LongBuffer otherBuffer) { method in class:LongBuffer
H A DShortBuffer.java146 public int compareTo(ShortBuffer otherBuffer) { method in class:ShortBuffer
/libcore/luni/src/main/java/java/nio/charset/
H A DCharset.java501 public final int compareTo(Charset charset) { method in class:Charset
/libcore/luni/src/main/java/java/sql/
H A DTimestamp.java196 public int compareTo(Date theObject) throws ClassCastException { method in class:Timestamp
197 return this.compareTo((Timestamp) theObject);
217 public int compareTo(Timestamp theTimestamp) { method in class:Timestamp
218 int result = super.compareTo(theTimestamp);
/libcore/luni/src/main/java/java/util/
H A DUUID.java329 public int compareTo(UUID uuid) { method in class:UUID

Completed in 1534 milliseconds

12