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

12

/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
H A DLong.java110 public int compareTo(Long object) { method in class:Long
H A DShort.java107 public int compareTo(Short object) { method in class:Short
/libcore/luni/src/main/java/java/math/
H A DBigDecimal.java1087 compRem = remainder.abs().shiftLeftOneBit().compareTo(scaledDivisor.abs());
1291 compRem = quotAndRem[1].shiftLeftOneBit().compareTo( divisor.getUnscaledValue() );
1920 * x.setScale(s).compareTo(x) == 0}.
2069 public int compareTo(BigDecimal val) { method in class:BigDecimal
2092 return thisUnscaled.compareTo(valUnscaled);
2132 return ((compareTo(val) <= 0) ? this : val);
2145 return ((compareTo(val) >= 0) ? this : val);
2297 * {@code x.compareTo(new BigDecimal(x.toPlainString())} returns {@code 0}.
2558 compRem = quotAndRem[1].shiftLeftOneBit().compareTo(powerOfTen);
2674 compRem = (integerAndFraction[1].abs().shiftLeftOneBit().compareTo(sizeOfFractio
[all...]
H A DBigInteger.java802 public int compareTo(BigInteger value) { method in class:BigInteger
813 return this.compareTo(value) == -1 ? this : value;
823 return this.compareTo(value) == 1 ? this : value;
845 return this.compareTo((BigInteger) x) == 0;

Completed in 760 milliseconds

12