Searched refs:Comparable (Results 1 - 25 of 53) sorted by relevance

123

/libcore/luni/src/main/java/java/lang/
H A DComparable.java36 public interface Comparable<T> { interface
H A DBoolean.java27 public final class Boolean implements Serializable, Comparable<Boolean> {
120 * @see java.lang.Comparable
H A DByte.java26 public final class Byte extends Number implements Comparable<Byte> {
105 * @see java.lang.Comparable
H A DShort.java27 public final class Short extends Number implements Comparable<Short> {
104 * @see java.lang.Comparable
H A DDouble.java26 public final class Double extends Number implements Comparable<Double> {
156 * @see java.lang.Comparable
H A DFloat.java26 public final class Float extends Number implements Comparable<Float> {
160 * @see java.lang.Comparable
/libcore/luni/src/main/java/java/util/concurrent/
H A DDelayed.java20 public interface Delayed extends Comparable<Delayed> {
H A DPriorityBlockingQueue.java24 * Comparable natural ordering} also does not permit insertion of
47 * class FIFOEntry<E extends Comparable<? super E>>
48 * implements Comparable<FIFOEntry<E>> {
149 * their {@linkplain Comparable natural ordering}.
158 * {@linkplain Comparable natural ordering}.
175 * priority queue. If {@code null}, the {@linkplain Comparable
196 * {@linkplain Comparable natural ordering} of its elements.
308 * Comparable and Comparator versions are separated into different
318 Comparable<? super T> key = (Comparable<
[all...]
/libcore/luni/src/main/java/java/text/
H A DCollationKey.java81 public abstract class CollationKey implements Comparable<CollationKey> {
/libcore/luni/src/test/java/tests/security/cert/
H A DX509CRLSelectorTest.java119 selector.setIssuerNames(new TreeSet<Comparable>() {
122 public Iterator<Comparable> iterator() {
/libcore/dex/src/main/java/com/android/dex/
H A DAnnotation.java24 public final class Annotation implements Comparable<Annotation> {
H A DEncodedValue.java25 public final class EncodedValue implements Comparable<EncodedValue> {
H A DFieldId.java21 public final class FieldId implements Comparable<FieldId> {
H A DMethodId.java21 public final class MethodId implements Comparable<MethodId> {
H A DProtoId.java21 public final class ProtoId implements Comparable<ProtoId> {
H A DTypeList.java21 public final class TypeList implements Comparable<TypeList> {
/libcore/luni/src/main/java/java/util/
H A DComparableTimSort.java21 * arrays of objects that implement {@link Comparable}, instead of using
26 * comparator that simply returns {@code ((Comparable)first).compareTo(Second)}.
215 Comparable<Object> pivot = (Comparable) a[start];
286 if (((Comparable) a[runHi++]).compareTo(a[lo]) < 0) { // Descending
287 while(runHi < hi && ((Comparable) a[runHi]).compareTo(a[runHi - 1]) < 0)
291 while (runHi < hi && ((Comparable) a[runHi]).compareTo(a[runHi - 1]) >= 0)
428 int k = gallopRight((Comparable<Object>) a[base2], a, base1, len1, 0);
439 len2 = gallopLeft((Comparable<Object>) a[base1 + len1 - 1], a,
469 private static int gallopLeft(Comparable<Objec
[all...]
H A DTreeSet.java63 * Comparable interface, or the elements in the collection
358 int compare = (c == null) ? ((Comparable<E>) start).compareTo(end) : c
378 ((Comparable<E>) end).compareTo(end);
396 ((Comparable<E>) start).compareTo(start);
/libcore/luni/src/test/java/libcore/java/lang/reflect/
H A DOldGenericReflectionCornerCases.java120 static class MultipleBoundedWildcardUnEquality<T extends Object & Comparable<MultipleBoundedWildcardUnEquality<T>>> {
139 assertEquals(Comparable.class, parameterizedType.getRawType());
175 static class MultipleBoundedWildcardEquality<T extends Object & Comparable<MultipleBoundedWildcardEquality<T>>> {
191 assertEquals(Comparable.class, parameterizedType.getRawType());
/libcore/libart/src/main/java/java/lang/
H A DEnum.java30 public abstract class Enum<E extends Enum<E>> implements Serializable, Comparable<E> {
148 * @see java.lang.Comparable
/libcore/libdvm/src/main/java/java/lang/
H A DEnum.java30 public abstract class Enum<E extends Enum<E>> implements Serializable, Comparable<E> {
147 * @see java.lang.Comparable
/libcore/luni/src/test/java/libcore/java/util/
H A DOldTreeMapTest.java37 return -(((Comparable) o1).compareTo(o2));
41 return (((Comparable) o1).compareTo(o2)) == 0;
46 public static class MockComparator<T extends Comparable<T>> implements
/libcore/luni/src/main/java/java/io/
H A DObjectStreamField.java32 public class ObjectStreamField implements Comparable<Object> {
/libcore/luni/src/main/java/java/nio/
H A DDoubleBuffer.java37 Comparable<DoubleBuffer> {
H A DFloatBuffer.java36 Comparable<FloatBuffer> {

Completed in 1426 milliseconds

123