Searched refs:alwaysFalse (Results 1 – 9 of 9) sorted by relevance
/external/guava/guava-tests/test/com/google/common/base/ |
D | PredicatesTest.java | 47 private static final Predicate<Integer> FALSE = Predicates.alwaysFalse(); 97 .addEqualityGroup(Predicates.alwaysFalse()) in testAlwaysTrue_equality() 111 assertEvalsToFalse(Predicates.alwaysFalse()); in testAlwaysFalse_apply() 116 .addEqualityGroup(FALSE, Predicates.alwaysFalse()) in testAlwaysFalse_equality() 124 checkSerialization(Predicates.alwaysFalse()); in testAlwaysFalse_serialization() 153 .addEqualityGroup(FALSE, Predicates.alwaysFalse()) in testNot_equalityForNotOfKnownValues() 302 Predicate[] array = {Predicates.alwaysFalse()}; in testAnd_arrayDefensivelyCopied() 314 list.add(Predicates.alwaysFalse()); in testAnd_listDefensivelyCopied() 329 list.add(Predicates.alwaysFalse()); in testAnd_iterableDefensivelyCopied() 472 Predicate[] array = {Predicates.alwaysFalse()}; in testOr_arrayDefensivelyCopied() [all …]
|
D | FunctionsTest.java | 336 Function<Object, Boolean> alwaysFalse = in testForPredicate() local 337 Functions.forPredicate(Predicates.alwaysFalse()); in testForPredicate() 340 assertFalse(alwaysFalse.apply(0)); in testForPredicate() 345 .addEqualityGroup(alwaysFalse) in testForPredicate()
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | CharStreamsTest.java | 106 LineProcessor<Integer> alwaysFalse = new LineProcessor<Integer>() { in testReadLines_withLineProcessor() local 119 CharStreams.readLines(r, alwaysFalse).intValue()); in testReadLines_withLineProcessor()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | IteratorsTest.java | 239 Predicates.alwaysFalse()); in testFilterNoMatch() 328 Iterators.find(iterator, Predicates.alwaysFalse()); in testFind_notPresent() 361 Iterators.find(iterator, Predicates.alwaysFalse(), "woot")); in testFind_withDefault_notPresent() 369 Iterators.find(iterator, Predicates.alwaysFalse(), null)); in testFind_withDefault_notPresent_nullReturn() 406 Iterators.tryFind(iterator, Predicates.alwaysFalse()).or("woot")); in testTryFind_alwaysFalse_orDefault() 414 Iterators.tryFind(iterator, Predicates.alwaysFalse()).isPresent()); in testTryFind_alwaysFalse_isPresent()
|
D | IterablesTest.java | 252 Iterables.find(list, Predicates.alwaysFalse()); 267 Predicates.alwaysFalse(), "woot")); 268 assertNull(Iterables.find(list, Predicates.alwaysFalse(), null)); 283 Iterables.tryFind(list, Predicates.alwaysFalse()));
|
D | SetsTest.java | 1082 static SortedSet<Long> filterAllElements = Sets.filter(sorted, Predicates.alwaysFalse());
|
D | MapsTest.java | 1080 Predicate<Object> predicate = Predicates.alwaysFalse();
|
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ |
D | Predicates.java | 59 public static <T> Predicate<T> alwaysFalse() { in alwaysFalse() method in Predicates
|
/external/guava/guava/src/com/google/common/base/ |
D | Predicates.java | 62 public static <T> Predicate<T> alwaysFalse() { in alwaysFalse() method in Predicates
|