Home
last modified time | relevance | path

Searched refs:Comparable (Results 1 – 25 of 35) sorted by relevance

12

/external/guava/src/com/google/common/collect/
DReverseNaturalOrdering.java28 extends Ordering<Comparable> implements Serializable {
31 public int compare(Comparable left, Comparable right) { in compare()
42 @Override public <S extends Comparable> Ordering<S> reverse() { in reverse()
48 @Override public <E extends Comparable> E min(E a, E b) { in min()
52 @Override public <E extends Comparable> E min(E a, E b, E c, E... rest) { in min()
56 @Override public <E extends Comparable> E min(Iterable<E> iterable) { in min()
60 @Override public <E extends Comparable> E max(E a, E b) { in max()
64 @Override public <E extends Comparable> E max(E a, E b, E c, E... rest) { in max()
68 @Override public <E extends Comparable> E max(Iterable<E> iterable) { in max()
DNaturalOrdering.java30 extends Ordering<Comparable> implements Serializable {
33 public int compare(Comparable left, Comparable right) { in compare()
45 @Override public <S extends Comparable> Ordering<S> reverse() { in reverse()
52 List<? extends Comparable> sortedList, Comparable key) { in binarySearch()
57 @Override public <E extends Comparable> List<E> sortedCopy( in sortedCopy()
DComparisonChain.java66 Comparable left, Comparable right) {
108 @Nullable Comparable left, @Nullable Comparable right) { in compare()
141 Comparable<?> left, Comparable<?> right); in compare()
DImmutableSortedSet.java119 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of( in of()
133 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of( in of()
146 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of( in of()
159 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of( in of()
172 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of( in of()
187 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> of( in of()
276 Ordering<E> naturalOrder = (Ordering) Ordering.<Comparable>natural(); in copyOf()
296 Ordering<E> naturalOrder = (Ordering) Ordering.<Comparable>natural(); in copyOf()
445 public static <E extends Comparable<E>> Builder<E> reverseOrder() { in reverseOrder()
461 public static <E extends Comparable<E>> Builder<E> naturalOrder() { in naturalOrder()
DTreeMultimap.java81 public static <K extends Comparable, V extends Comparable>
108 public static <K extends Comparable, V extends Comparable>
DImmutableSortedMap.java92 public static <K extends Comparable<? super K>, V> ImmutableSortedMap<K, V>
105 public static <K extends Comparable<? super K>, V> ImmutableSortedMap<K, V>
118 public static <K extends Comparable<? super K>, V> ImmutableSortedMap<K, V>
131 public static <K extends Comparable<? super K>, V> ImmutableSortedMap<K, V>
144 public static <K extends Comparable<? super K>, V> ImmutableSortedMap<K, V>
171 Ordering<K> naturalOrder = (Ordering) Ordering.<Comparable>natural(); in copyOf()
277 public static <K extends Comparable<K>, V> Builder<K, V> naturalOrder() { in naturalOrder()
302 public static <K extends Comparable<K>, V> Builder<K, V> reverseOrder() { in reverseOrder()
DTreeMultiset.java70 public static <E extends Comparable> TreeMultiset<E> create() { in create()
100 public static <E extends Comparable> TreeMultiset<E> create( in create()
/external/easymock/src/org/easymock/internal/matchers/
DCompareTo.java22 public abstract class CompareTo<T extends Comparable<T>> implements IArgumentMatcher, Serializable {
26 private final Comparable<T> expected;
28 public CompareTo(Comparable<T> value) { in CompareTo()
35 if(!(actual instanceof Comparable)) { in matches()
39 return matchResult(((Comparable) actual).compareTo(expected)); in matches()
DLessThan.java18 public class LessThan<T extends Comparable<T>> extends CompareTo<T> {
22 public LessThan(Comparable<T> value) { in LessThan()
DCompareEqual.java18 public class CompareEqual<T extends Comparable<T>> extends CompareTo<T> {
22 public CompareEqual(Comparable<T> value) { in CompareEqual()
DGreaterOrEqual.java18 public class GreaterOrEqual<T extends Comparable<T>> extends CompareTo<T> {
22 public GreaterOrEqual(Comparable<T> value) { in GreaterOrEqual()
DGreaterThan.java18 public class GreaterThan<T extends Comparable<T>> extends CompareTo<T> {
22 public GreaterThan(Comparable<T> value) { in GreaterThan()
DLessOrEqual.java18 public class LessOrEqual<T extends Comparable<T>> extends CompareTo<T> {
22 public LessOrEqual(Comparable<T> value) { in LessOrEqual()
/external/apache-http/src/org/apache/commons/codec/
DStringEncoderComparator.java73 Comparable s1 = (Comparable) ((Encoder) this.stringEncoder).encode(o1); in compare()
74 Comparable s2 = (Comparable) ((Encoder) this.stringEncoder).encode(o2); in compare()
/external/easymock/src/org/easymock/
DEasyMock.java308 public static <T extends Comparable<T>> T geq(Comparable<T> value) { in geq()
400 public static <T extends Comparable<T>> T leq(Comparable<T> value) { in leq()
492 public static <T extends Comparable<T>> T gt(Comparable<T> value) { in gt()
584 public static <T extends Comparable<T>> T lt(Comparable<T> value) { in lt()
1419 public static <T extends Comparable<T>> T cmpEq(Comparable<T> value) { in cmpEq()
/external/jdiff/src/jdiff/
DSingleComment.java12 class SingleComment implements Comparable {
DPackageAPI.java16 class PackageAPI implements Comparable {
DParamAPI.java16 class ParamAPI implements Comparable {
DDiffOutput.java12 class DiffOutput implements Comparable {
DConstructorAPI.java16 class ConstructorAPI implements Comparable {
DModifiers.java15 class Modifiers implements Comparable {
DClassAPI.java16 class ClassAPI implements Comparable {
DFieldAPI.java16 class FieldAPI implements Comparable {
DMethodAPI.java16 class MethodAPI implements Comparable {
/external/emma/core/java12/com/vladium/jcd/cls/
DClassDef.java637 private static final class FieldDescriptor implements Comparable
661 private static final class ConstructorDescriptor implements Comparable
683 private static final class MethodDescriptor implements Comparable

12