/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
D | PredicatesTest.java | 45 private static final Predicate<Integer> FALSE = Predicates.alwaysFalse(); 95 .addEqualityGroup(Predicates.alwaysFalse()) in testAlwaysTrue_equality() 104 assertEvalsToFalse(Predicates.alwaysFalse()); in testAlwaysFalse_apply() 109 .addEqualityGroup(FALSE, Predicates.alwaysFalse()) in testAlwaysFalse_equality() 141 .addEqualityGroup(FALSE, Predicates.alwaysFalse()) in testNot_equalityForNotOfKnownValues() 256 Predicate[] array = {Predicates.alwaysFalse()}; in testAnd_arrayDefensivelyCopied() 267 list.add(Predicates.alwaysFalse()); in testAnd_listDefensivelyCopied() 281 list.add(Predicates.alwaysFalse()); in testAnd_iterableDefensivelyCopied() 393 Predicate[] array = {Predicates.alwaysFalse()}; in testOr_arrayDefensivelyCopied()
|
D | FunctionsTest.java | 239 Function<Object, Boolean> alwaysFalse = in testForPredicate() local 240 Functions.forPredicate(Predicates.alwaysFalse()); in testForPredicate() 243 assertFalse(alwaysFalse.apply(0)); in testForPredicate() 248 .addEqualityGroup(alwaysFalse) in testForPredicate()
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | PredicatesTest.java | 50 private static final Predicate<Integer> FALSE = Predicates.alwaysFalse(); 100 .addEqualityGroup(Predicates.alwaysFalse()) in testAlwaysTrue_equality() 114 assertEvalsToFalse(Predicates.alwaysFalse()); in testAlwaysFalse_apply() 119 .addEqualityGroup(FALSE, Predicates.alwaysFalse()) in testAlwaysFalse_equality() 127 checkSerialization(Predicates.alwaysFalse()); in testAlwaysFalse_serialization() 156 .addEqualityGroup(FALSE, Predicates.alwaysFalse()) in testNot_equalityForNotOfKnownValues() 305 Predicate[] array = {Predicates.alwaysFalse()}; in testAnd_arrayDefensivelyCopied() 316 list.add(Predicates.alwaysFalse()); in testAnd_listDefensivelyCopied() 330 list.add(Predicates.alwaysFalse()); in testAnd_iterableDefensivelyCopied() 473 Predicate[] array = {Predicates.alwaysFalse()}; in testOr_arrayDefensivelyCopied() [all …]
|
D | FunctionsTest.java | 337 Function<Object, Boolean> alwaysFalse = in testForPredicate() local 338 Functions.forPredicate(Predicates.alwaysFalse()); in testForPredicate() 341 assertFalse(alwaysFalse.apply(0)); in testForPredicate() 346 .addEqualityGroup(alwaysFalse) in testForPredicate()
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | CharStreamsTest.java | 73 LineProcessor<Integer> alwaysFalse = new LineProcessor<Integer>() { in testReadLines_withLineProcessor() local 86 CharStreams.readLines(r, alwaysFalse).intValue()); in testReadLines_withLineProcessor()
|
/external/caliper/caliper/src/main/java/com/google/caliper/platform/dalvik/ |
D | DalvikPlatform.java | 114 return Predicates.alwaysFalse(); in vmPropertiesToRetain()
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | IteratorsTest.java | 241 Predicates.alwaysFalse()); in testFilterNoMatch() 312 Iterators.find(iterator, Predicates.alwaysFalse()); in testFind_notPresent() 345 Iterators.find(iterator, Predicates.alwaysFalse(), "woot")); in testFind_withDefault_notPresent() 353 Iterators.find(iterator, Predicates.alwaysFalse(), null)); in testFind_withDefault_notPresent_nullReturn() 390 Iterators.tryFind(iterator, Predicates.alwaysFalse()).or("woot")); in testTryFind_alwaysFalse_orDefault() 398 Iterators.tryFind(iterator, Predicates.alwaysFalse()).isPresent()); in testTryFind_alwaysFalse_isPresent()
|
D | IterablesTest.java | 213 Iterables.find(list, Predicates.alwaysFalse()); 228 Predicates.alwaysFalse(), "woot")); 229 assertNull(Iterables.find(list, Predicates.alwaysFalse(), null)); 244 Iterables.tryFind(list, Predicates.alwaysFalse()));
|
D | MapsTest.java | 1191 Predicate<Object> predicate = Predicates.alwaysFalse(); in testFilteredEntriesObjectPredicate()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | IteratorsTest.java | 288 Predicates.alwaysFalse()); in testFilterNoMatch() 376 Iterators.find(iterator, Predicates.alwaysFalse()); in testFind_notPresent() 409 Iterators.find(iterator, Predicates.alwaysFalse(), "woot")); in testFind_withDefault_notPresent() 417 Iterators.find(iterator, Predicates.alwaysFalse(), null)); in testFind_withDefault_notPresent_nullReturn() 454 Iterators.tryFind(iterator, Predicates.alwaysFalse()).or("woot")); in testTryFind_alwaysFalse_orDefault() 462 Iterators.tryFind(iterator, Predicates.alwaysFalse()).isPresent()); in testTryFind_alwaysFalse_isPresent()
|
D | IterablesTest.java | 241 Iterables.find(list, Predicates.alwaysFalse()); 256 Predicates.alwaysFalse(), "woot")); 257 assertNull(Iterables.find(list, Predicates.alwaysFalse(), null)); 272 Iterables.tryFind(list, Predicates.alwaysFalse()));
|
D | FluentIterableTest.java | 255 assertEquals(Optional.absent(), iterable.firstMatch(Predicates.alwaysFalse())); in testFirstMatch()
|
D | MapsTest.java | 1499 Predicate<Object> predicate = Predicates.alwaysFalse(); in testFilteredEntriesObjectPredicate()
|
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ |
D | Predicates.java | 63 public static <T> Predicate<T> alwaysFalse() { in alwaysFalse() method in Predicates
|
/external/guava/guava/src/com/google/common/base/ |
D | Predicates.java | 66 public static <T> Predicate<T> alwaysFalse() { in alwaysFalse() method in Predicates
|