/external/mockito/src/org/mockito/internal/matchers/ |
CompareTo.java | 12 public abstract class CompareTo<T extends Comparable<T>> extends ArgumentMatcher<T> { 13 private final Comparable<T> wanted; 15 public CompareTo(Comparable<T> value) { 22 if(!(actual instanceof Comparable)) { 26 return matchResult(((Comparable) actual).compareTo(wanted));
|
CompareEqual.java | 10 public class CompareEqual<T extends Comparable<T>> extends CompareTo<T> implements Serializable { 14 public CompareEqual(Comparable<T> value) {
|
GreaterOrEqual.java | 10 public class GreaterOrEqual<T extends Comparable<T>> extends CompareTo<T> implements Serializable { 14 public GreaterOrEqual(Comparable<T> value) {
|
GreaterThan.java | 10 public class GreaterThan<T extends Comparable<T>> extends CompareTo<T> implements Serializable { 14 public GreaterThan(Comparable<T> value) {
|
LessOrEqual.java | 10 public class LessOrEqual<T extends Comparable<T>> extends CompareTo<T> implements Serializable { 14 public LessOrEqual(Comparable<T> value) {
|
LessThan.java | 10 public class LessThan<T extends Comparable<T>> extends CompareTo<T> implements Serializable { 14 public LessThan(Comparable<T> value) {
|
/external/guava/guava/src/com/google/common/collect/ |
ImmutableSortedMultisetFauxverideShim.java | 50 * Comparable} element.</b> Proper calls will resolve to the version in {@code 54 * @deprecated <b>Pass a parameter of type {@code Comparable} to use 55 * {@link ImmutableSortedMultiset#of(Comparable)}.</b> 64 * Comparable} element.</b> Proper calls will resolve to the version in {@code 68 * @deprecated <b>Pass the parameters of type {@code Comparable} to use 69 * {@link ImmutableSortedMultiset#of(Comparable, Comparable)}.</b> 78 * Comparable} element.</b> Proper calls will resolve to the version in {@code 82 * @deprecated <b>Pass the parameters of type {@code Comparable} to use 83 * {@link ImmutableSortedMultiset#of(Comparable, Comparable, Comparable)}.</b [all...] |
ImmutableSortedSetFauxverideShim.java | 54 * non-{@code Comparable} element.</b> Proper calls will resolve to the 58 * @deprecated <b>Pass a parameter of type {@code Comparable} to use {@link 59 * ImmutableSortedSet#of(Comparable)}.</b> 67 * non-{@code Comparable} element.</b> Proper calls will resolve to the 71 * @deprecated <b>Pass the parameters of type {@code Comparable} to use {@link 72 * ImmutableSortedSet#of(Comparable, Comparable)}.</b> 80 * non-{@code Comparable} element.</b> Proper calls will resolve to the 84 * @deprecated <b>Pass the parameters of type {@code Comparable} to use {@link 85 * ImmutableSortedSet#of(Comparable, Comparable, Comparable)}.</b [all...] |
ReverseNaturalOrdering.java | 30 extends Ordering<Comparable> implements Serializable { 33 @Override public int compare(Comparable left, Comparable right) { 42 @Override public <S extends Comparable> Ordering<S> reverse() { 48 @Override public <E extends Comparable> E min(E a, E b) { 52 @Override public <E extends Comparable> E min(E a, E b, E c, E... rest) { 56 @Override public <E extends Comparable> E min(Iterator<E> iterator) { 60 @Override public <E extends Comparable> E min(Iterable<E> iterable) { 64 @Override public <E extends Comparable> E max(E a, E b) { 68 @Override public <E extends Comparable> E max(E a, E b, E c, E... rest) [all...] |
ImmutableSortedMapFauxverideShim.java | 46 * non-{@code Comparable} key.</b> Proper calls will resolve to the version in 50 * @deprecated <b>Pass a key of type {@code Comparable} to use {@link 51 * ImmutableSortedMap#of(Comparable, Object)}.</b> 59 * non-{@code Comparable} keys.</b> Proper calls will resolve to the version 63 * @deprecated <b>Pass keys of type {@code Comparable} to use {@link 64 * ImmutableSortedMap#of(Comparable, Object, Comparable, Object)}.</b> 73 * non-{@code Comparable} keys.</b> Proper calls to will resolve to the 77 * @deprecated <b>Pass keys of type {@code Comparable} to use {@link 78 * ImmutableSortedMap#of(Comparable, Object, Comparable, Object [all...] |
NaturalOrdering.java | 31 extends Ordering<Comparable> implements Serializable { 34 @Override public int compare(Comparable left, Comparable right) { 44 @Override public <S extends Comparable> Ordering<S> reverse() { 50 List<? extends Comparable> sortedList, Comparable key) { 55 @Override public <E extends Comparable> List<E> sortedCopy(
|
Cut.java | 37 abstract class Cut<C extends Comparable> implements Comparable<Cut<C>>, Serializable { 107 static <C extends Comparable> Cut<C> belowAll() { 113 private static final class BelowAll extends Cut<Comparable<?>> { 119 @Override Comparable<?> endpoint() { 122 @Override boolean isLessThan(Comparable<?> value) { 131 @Override Cut<Comparable<?>> withLowerBoundType(BoundType boundType, 132 DiscreteDomain<Comparable<?>> domain) { 135 @Override Cut<Comparable<?>> withUpperBoundType(BoundType boundType, 136 DiscreteDomain<Comparable<?>> domain) [all...] |
Ranges.java | 74 static <C extends Comparable<?>> Range<C> create( 86 public static <C extends Comparable<?>> Range<C> open(C lower, C upper) { 97 public static <C extends Comparable<?>> Range<C> closed(C lower, C upper) { 108 public static <C extends Comparable<?>> Range<C> closedOpen( 120 public static <C extends Comparable<?>> Range<C> openClosed( 133 public static <C extends Comparable<?>> Range<C> range( 151 public static <C extends Comparable<?>> Range<C> lessThan(C endpoint) { 159 public static <C extends Comparable<?>> Range<C> atMost(C endpoint) { 167 public static <C extends Comparable<?>> Range<C> upTo( 183 public static <C extends Comparable<?>> Range<C> greaterThan(C endpoint) [all...] |
/art/test/069-field-type/src2/ |
Blah.java | 5 public class Blah implements Comparable {
|
/external/hamcrest/library/src/org/hamcrest/number/ |
IsGreaterThan.java | 9 * Is the value less than or greater than another {@link java.lang.Comparable} value? 11 public class IsGreaterThan<T extends Comparable<T>> extends TypeSafeMatcher<T> { 12 private final Comparable<T> compareTo; 14 public IsGreaterThan(Comparable<T> compareTo) {
|
OrderingComparisons.java | 14 public static <T extends Comparable<T>> Matcher<T> greaterThan(T value) { 19 public static <T extends Comparable<T>> Matcher<T> greaterThanOrEqualTo(T value) { 26 public static <T extends Comparable<T>> Matcher<T> lessThan(T value) { 33 public static <T extends Comparable<T>> Matcher<T> lessThanOrEqualTo(T value) {
|
/external/easymock/src/org/easymock/internal/matchers/ |
CompareTo.java | 22 public abstract class CompareTo<T extends Comparable<T>> implements IArgumentMatcher, Serializable {
26 private final Comparable<T> expected;
28 public CompareTo(Comparable<T> value) {
35 if(!(actual instanceof Comparable)) {
39 return matchResult(((Comparable) actual).compareTo(expected));
|
CompareEqual.java | 18 public class CompareEqual<T extends Comparable<T>> extends CompareTo<T> {
22 public CompareEqual(Comparable<T> value) {
|
GreaterOrEqual.java | 18 public class GreaterOrEqual<T extends Comparable<T>> extends CompareTo<T> {
22 public GreaterOrEqual(Comparable<T> value) {
|
GreaterThan.java | 18 public class GreaterThan<T extends Comparable<T>> extends CompareTo<T> {
22 public GreaterThan(Comparable<T> value) {
|
LessOrEqual.java | 18 public class LessOrEqual<T extends Comparable<T>> extends CompareTo<T> {
22 public LessOrEqual(Comparable<T> value) {
|
LessThan.java | 18 public class LessThan<T extends Comparable<T>> extends CompareTo<T> {
22 public LessThan(Comparable<T> value) {
|
/art/test/069-field-type/src/ |
Main.java | 28 //Comparable cmpx = holder.mValue; /* compiler rejects */ 29 Comparable cmp = (Comparable) holder.mValue;
|
/external/apache-http/src/org/apache/commons/codec/ |
StringEncoderComparator.java | 22 * Strings are comparable, and this comparator allows 70 * @return the Comparable.compareTo() return code or 0 if an encoding error was caught. 71 * @see Comparable 78 Comparable s1 = (Comparable) ((Encoder) this.stringEncoder).encode(o1); 79 Comparable s2 = (Comparable) ((Encoder) this.stringEncoder).encode(o2);
|
/external/apache-harmony/luni/src/test/resources/org/apache/harmony/luni/tests/ |
ObjectStreamClassTest.jar | |