/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
D | FunctionsTest.java | 237 Function<Object, Boolean> alwaysTrue = in testForPredicate() local 238 Functions.forPredicate(Predicates.alwaysTrue()); in testForPredicate() 242 assertTrue(alwaysTrue.apply(0)); in testForPredicate() 247 alwaysTrue, Functions.forPredicate(Predicates.alwaysTrue())) in testForPredicate()
|
D | PredicatesTest.java | 44 private static final Predicate<Integer> TRUE = Predicates.alwaysTrue(); 88 assertEvalsToTrue(Predicates.alwaysTrue()); in testAlwaysTrue_apply() 93 .addEqualityGroup(TRUE, Predicates.alwaysTrue()) in testAlwaysTrue_equality() 111 .addEqualityGroup(Predicates.alwaysTrue()) in testAlwaysFalse_equality() 135 .addEqualityGroup(TRUE, Predicates.alwaysTrue()) in testNot_equalityForNotOfKnownValues() 259 array[0] = Predicates.alwaysTrue(); in testAnd_arrayDefensivelyCopied() 396 array[0] = Predicates.alwaysTrue(); in testOr_arrayDefensivelyCopied() 404 list.add(Predicates.alwaysTrue()); in testOr_listDefensivelyCopied() 418 list.add(Predicates.alwaysTrue()); in testOr_iterableDefensivelyCopied()
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | PredicatesTest.java | 49 private static final Predicate<Integer> TRUE = Predicates.alwaysTrue(); 93 assertEvalsToTrue(Predicates.alwaysTrue()); in testAlwaysTrue_apply() 98 .addEqualityGroup(TRUE, Predicates.alwaysTrue()) in testAlwaysTrue_equality() 106 checkSerialization(Predicates.alwaysTrue()); in testAlwaysTrue_serialization() 121 .addEqualityGroup(Predicates.alwaysTrue()) in testAlwaysFalse_equality() 150 .addEqualityGroup(TRUE, Predicates.alwaysTrue()) in testNot_equalityForNotOfKnownValues() 308 array[0] = Predicates.alwaysTrue(); in testAnd_arrayDefensivelyCopied() 476 array[0] = Predicates.alwaysTrue(); in testOr_arrayDefensivelyCopied() 484 list.add(Predicates.alwaysTrue()); in testOr_listDefensivelyCopied() 498 list.add(Predicates.alwaysTrue()); in testOr_iterableDefensivelyCopied() [all …]
|
D | FunctionsTest.java | 335 Function<Object, Boolean> alwaysTrue = in testForPredicate() local 336 Functions.forPredicate(Predicates.alwaysTrue()); in testForPredicate() 340 assertTrue(alwaysTrue.apply(0)); in testForPredicate() 345 alwaysTrue, Functions.forPredicate(Predicates.alwaysTrue())) in testForPredicate()
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | CharStreamsTest.java | 90 LineProcessor<Integer> alwaysTrue = new LineProcessor<Integer>() { in testReadLines_withLineProcessor() local 103 CharStreams.readLines(r, alwaysTrue).intValue()); in testReadLines_withLineProcessor()
|
/external/libbackup/src/com/google/android/libraries/backup/ |
D | BackupKeyPredicates.java | 161 public static BackupKeyPredicate alwaysTrue() {
|
/external/caliper/caliper/src/main/java/com/google/caliper/memory/ |
D | ObjectGraphMeasurer.java | 155 return measure(rootObject, Predicates.alwaysTrue()); in measure()
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | IteratorsTest.java | 250 Predicates.alwaysTrue()); in testFilterMatchAll() 322 assertEquals("cool", Iterators.find(iterator, Predicates.alwaysTrue())); in testFind_matchAlways() 361 Iterators.find(iterator, Predicates.alwaysTrue(), "woot")); in testFind_withDefault_matchAlways() 383 Iterators.tryFind(iterator, Predicates.alwaysTrue()).get()); in testTryFind_alwaysTrue()
|
D | IterablesTest.java | 217 assertEquals("cool", Iterables.find(list, Predicates.alwaysTrue())); 231 Iterables.find(list, Predicates.alwaysTrue(), "woot")); 242 Iterables.tryFind(list, Predicates.alwaysTrue()));
|
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ |
D | Predicates.java | 55 public static <T> Predicate<T> alwaysTrue() { in alwaysTrue() method in Predicates
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | IteratorsTest.java | 297 Predicates.alwaysTrue()); in testFilterMatchAll() 386 assertEquals("cool", Iterators.find(iterator, Predicates.alwaysTrue())); in testFind_matchAlways() 425 Iterators.find(iterator, Predicates.alwaysTrue(), "woot")); in testFind_withDefault_matchAlways() 447 Iterators.tryFind(iterator, Predicates.alwaysTrue()).get()); in testTryFind_alwaysTrue()
|
D | IterablesTest.java | 245 assertEquals("cool", Iterables.find(list, Predicates.alwaysTrue())); 259 Iterables.find(list, Predicates.alwaysTrue(), "woot")); 270 Iterables.tryFind(list, Predicates.alwaysTrue()));
|
D | FluentIterableTest.java | 256 assertEquals(Optional.of("cool"), iterable.firstMatch(Predicates.alwaysTrue())); in testFirstMatch()
|
/external/guava/guava/src/com/google/common/collect/ |
D | StandardTable.java | 20 import static com.google.common.base.Predicates.alwaysTrue; 467 removeFromColumnIf(alwaysTrue());
|
/external/guava/guava/src/com/google/common/base/ |
D | Predicates.java | 58 public static <T> Predicate<T> alwaysTrue() { in alwaysTrue() method in Predicates
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
D | ArbitraryInstances.java | 213 .put(Predicate.class, Predicates.alwaysTrue())
|