/libcore/ojluni/src/main/java/java/util/ |
D | Comparators.java | 47 enum NaturalOrderComparator implements Comparator<Comparable<Object>> { 51 public int compare(Comparable<Object> c1, Comparable<Object> c2) { in compare() 56 public Comparator<Comparable<Object>> reversed() { in reversed()
|
D | ComparableTimSort.java | 249 Comparable pivot = (Comparable) a[start]; in binarySort() 320 if (((Comparable) a[runHi++]).compareTo(a[lo]) < 0) { // Descending in countRunAndMakeAscending() 321 while (runHi < hi && ((Comparable) a[runHi]).compareTo(a[runHi - 1]) < 0) in countRunAndMakeAscending() 325 while (runHi < hi && ((Comparable) a[runHi]).compareTo(a[runHi - 1]) >= 0) in countRunAndMakeAscending() 462 int k = gallopRight((Comparable<Object>) a[base2], a, base1, len1, 0); in mergeAt() 473 len2 = gallopLeft((Comparable<Object>) a[base1 + len1 - 1], a, in mergeAt() 503 private static int gallopLeft(Comparable<Object> key, Object[] a, in gallopLeft() 573 private static int gallopRight(Comparable<Object> key, Object[] a, in gallopRight() 684 if (((Comparable) a[cursor2]).compareTo(tmp[cursor1]) < 0) { 706 count1 = gallopRight((Comparable) a[cursor2], tmp, cursor1, len1, 0); [all …]
|
D | Comparator.java | 262 default <U extends Comparable<? super U>> Comparator<T> thenComparing( in thenComparing() 338 public static <T extends Comparable<? super T>> Comparator<T> reverseOrder() { in reverseOrder() 356 public static <T extends Comparable<? super T>> Comparator<T> naturalOrder() { in naturalOrder() 464 public static <T, U extends Comparable<? super U>> Comparator<T> comparing( in comparing()
|
D | PriorityQueue.java | 652 Comparable<? super E> key = (Comparable<? super E>) x; in siftUpComparable() 694 Comparable<? super E> key = (Comparable<? super E>)x; in siftDownComparable() 701 ((Comparable<? super E>) c).compareTo((E) queue[right]) > 0) in siftDownComparable()
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | X509CRLSelectorTest.java | 119 selector.setIssuerNames(new TreeSet<Comparable>() { in test_setIssuerNamesLjava_util_Collection01() 122 public Iterator<Comparable> iterator() { in test_setIssuerNamesLjava_util_Collection01()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | Delayed.java | 49 public interface Delayed extends Comparable<Delayed> {
|
D | PriorityBlockingQueue.java | 356 Comparable<? super T> key = (Comparable<? super T>) x; in siftUpComparable() 394 Comparable<? super T> key = (Comparable<? super T>)x; in siftDownComparable() 401 ((Comparable<? super T>) c).compareTo((T) array[right]) > 0) in siftDownComparable()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Comparable.java | 96 public interface Comparable<T> { interface
|
D | Boolean.java | 44 Comparable<Boolean>
|
/libcore/ojluni/src/main/java/java/text/ |
D | CollationKey.java | 100 public abstract class CollationKey implements Comparable<CollationKey> {
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | OldGenericReflectionCornerCases.java | 120 …static class MultipleBoundedWildcardUnEquality<T extends Object & Comparable<MultipleBoundedWildca… 139 assertEquals(Comparable.class, parameterizedType.getRawType()); in testMultipleBoundedWildcardUnEquality() 175 …static class MultipleBoundedWildcardEquality<T extends Object & Comparable<MultipleBoundedWildcard… 191 assertEquals(Comparable.class, parameterizedType.getRawType()); in testMultipleBoundedWildcard()
|
/libcore/luni/src/main/java/android/system/ |
D | StructTimespec.java | 24 public final class StructTimespec implements Comparable<StructTimespec> {
|
/libcore/ojluni/src/test/java/time/tck/java/time/serial/ |
D | TCKDurationSerialization.java | 82 assertTrue(Comparable.class.isAssignableFrom(Duration.class)); in test_interfaces()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | SetOfTest.java | 177 private static<T extends Comparable<T>> void check_nonEmpty(Set<T> expected, Set<T> actual) { in check_nonEmpty() 183 private static<T extends Comparable<T>> void check_commonBehavior( in check_commonBehavior() 200 private static<T extends Comparable<T>> void assertUnmodifiable(Set<T> set, T example) { in assertUnmodifiable()
|
D | ListOfTest.java | 168 private static<T extends Comparable<T>> void check_nonEmpty(List<T> expected, List<T> actual) { in check_nonEmpty() 174 private static<T extends Comparable<T>> void assertBehaviorCommonToAllOfInstances( in assertBehaviorCommonToAllOfInstances() 199 private static<T extends Comparable<T>> void assertUnmodifiable(List<T> list, T example) { in assertUnmodifiable()
|
D | OldTreeMapTest.java | 37 return -(((Comparable) o1).compareTo(o2)); in compare() 41 return (((Comparable) o1).compareTo(o2)) == 0; in equals() 46 public static class MockComparator<T extends Comparable<T>> implements
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | UUID.java | 31 public final class UUID implements java.io.Serializable, java.lang.Comparable<java.util.UUID> {
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Enum.annotated.java | 32 public abstract class Enum<E extends java.lang.Enum<E>> implements java.lang.Comparable<E>, java.io…
|
D | Boolean.annotated.java | 31 public final class Boolean implements java.io.Serializable, java.lang.Comparable<java.lang.Boolean>…
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | Path.java | 99 extends Comparable<Path>, Iterable<Path>, Watchable
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ConcurrentHashMapTest.java | 58 static class BI implements Comparable<BI> { 72 static class BS implements Comparable<BS> { 84 static class LexicographicList<E extends Comparable<E>> extends ArrayList<E> 85 implements Comparable<LexicographicList<E>> { 111 …static class ComparableCollidingObject extends CollidingObject implements Comparable<ComparableCol…
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Boolean.java | 33 implements java.io.Serializable, java.lang.Comparable<java.lang.Boolean> {
|
/libcore/ojluni/annotations/hiddenapi/java/io/ |
D | ObjectStreamField.java | 31 public class ObjectStreamField implements java.lang.Comparable<java.lang.Object> {
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | MockSimplePeriod.java | 77 implements TemporalAmount, Comparable<MockSimplePeriod> {
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | MockSimplePeriod.java | 77 implements TemporalAmount, Comparable<MockSimplePeriod> {
|