/libcore/luni/src/test/java/libcore/java/util/function/ |
DoublePredicateTest.java | 36 DoublePredicate alwaysTrue = 47 assertTrue(alwaysTrue.and(alwaysTrue2).test(arg)); 52 assertFalse(alwaysTrue.and(alwaysFalse).test(arg)); 62 assertFalse(alwaysFalse.and(alwaysTrue).test(arg)); 67 DoublePredicate alwaysTrue = x -> true; 69 alwaysTrue.and(null); 76 DoublePredicate alwaysTrue = x -> { assertEquals(x, arg); return true; }; 77 assertFalse(alwaysTrue.negate().test(arg)); 93 DoublePredicate alwaysTrue = 104 assertTrue(alwaysTrue.or(alwaysTrue2).test(arg)) [all...] |
IntPredicateTest.java | 36 IntPredicate alwaysTrue = 47 assertTrue(alwaysTrue.and(alwaysTrue2).test(arg)); 52 assertFalse(alwaysTrue.and(alwaysFalse).test(arg)); 62 assertFalse(alwaysFalse.and(alwaysTrue).test(arg)); 67 IntPredicate alwaysTrue = x -> true; 69 alwaysTrue.and(null); 76 IntPredicate alwaysTrue = x -> { assertEquals(x, arg); return true; }; 77 assertFalse(alwaysTrue.negate().test(arg)); 93 IntPredicate alwaysTrue = 104 assertTrue(alwaysTrue.or(alwaysTrue2).test(arg)) [all...] |
LongPredicateTest.java | 34 LongPredicate alwaysTrue = x -> { alwaysTrueInvoked.set(true); return true; }; 41 assertTrue(alwaysTrue.and(alwaysTrue2).test(1L)); 46 assertFalse(alwaysTrue.and(alwaysFalse).test(1L)); 56 assertFalse(alwaysFalse.and(alwaysTrue).test(1L)); 61 LongPredicate alwaysTrue = x -> true; 63 alwaysTrue.and(null); 70 LongPredicate alwaysTrue = x -> { assertEquals(x, arg); return true; }; 71 assertFalse(alwaysTrue.negate().test(arg)); 85 LongPredicate alwaysTrue = x -> { alwaysTrueInvoked.set(true); return true; }; 92 assertTrue(alwaysTrue.or(alwaysTrue2).test(1L)) [all...] |
PredicateTest.java | 36 Predicate<Object> alwaysTrue = 47 assertTrue(alwaysTrue.and(alwaysTrue2).test(arg)); 52 assertFalse(alwaysTrue.and(alwaysFalse).test(arg)); 62 assertFalse(alwaysFalse.and(alwaysTrue).test(arg)); 68 Predicate<Object> alwaysTrue = x -> { assertSame(arg, x); return true; }; 70 alwaysTrue.and(null); 76 Predicate<Object> alwaysTrue = x -> true; 77 assertFalse(alwaysTrue.negate().test(null)); 93 Predicate<Object> alwaysTrue = 104 assertTrue(alwaysTrue.or(alwaysTrue2).test(arg)) [all...] |
BiPredicateTest.java | 36 BiPredicate<Object, Object> alwaysTrue = 47 assertTrue(alwaysTrue.and(alwaysTrue2).test(arg1, arg2)); 52 assertFalse(alwaysTrue.and(alwaysFalse).test(arg1, arg2)); 62 assertFalse(alwaysFalse.and(alwaysTrue).test(arg1, arg2)); 67 BiPredicate<Object, Object> alwaysTrue = (x, y) -> true; 69 alwaysTrue.and(null); 77 BiPredicate<Object, Object> alwaysTrue = 79 assertFalse(alwaysTrue.negate().test(arg1, arg2)); 96 BiPredicate<Object, Object> alwaysTrue = 107 assertTrue(alwaysTrue.or(alwaysTrue2).test(arg1, arg2)) [all...] |
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
FunctionsTest.java | 237 Function<Object, Boolean> alwaysTrue = 238 Functions.forPredicate(Predicates.alwaysTrue()); 242 assertTrue(alwaysTrue.apply(0)); 247 alwaysTrue, Functions.forPredicate(Predicates.alwaysTrue()))
|
PredicatesTest.java | 44 private static final Predicate<Integer> TRUE = Predicates.alwaysTrue(); 84 * Tests for Predicates.alwaysTrue(). 88 assertEvalsToTrue(Predicates.alwaysTrue()); 93 .addEqualityGroup(TRUE, Predicates.alwaysTrue()) 111 .addEqualityGroup(Predicates.alwaysTrue()) 135 .addEqualityGroup(TRUE, Predicates.alwaysTrue()) 259 array[0] = Predicates.alwaysTrue(); 396 array[0] = Predicates.alwaysTrue(); 404 list.add(Predicates.alwaysTrue()); 418 list.add(Predicates.alwaysTrue()); [all...] |
/external/guava/guava-tests/test/com/google/common/base/ |
PredicatesTest.java | 49 private static final Predicate<Integer> TRUE = Predicates.alwaysTrue(); 89 * Tests for Predicates.alwaysTrue(). 93 assertEvalsToTrue(Predicates.alwaysTrue()); 98 .addEqualityGroup(TRUE, Predicates.alwaysTrue()) 106 checkSerialization(Predicates.alwaysTrue()); 121 .addEqualityGroup(Predicates.alwaysTrue()) 150 .addEqualityGroup(TRUE, Predicates.alwaysTrue()) 308 array[0] = Predicates.alwaysTrue(); 476 array[0] = Predicates.alwaysTrue(); 484 list.add(Predicates.alwaysTrue()); [all...] |
FunctionsTest.java | 335 Function<Object, Boolean> alwaysTrue = 336 Functions.forPredicate(Predicates.alwaysTrue()); 340 assertTrue(alwaysTrue.apply(0)); 345 alwaysTrue, Functions.forPredicate(Predicates.alwaysTrue()))
|
/external/guava/guava-tests/test/com/google/common/io/ |
CharStreamsTest.java | 90 LineProcessor<Integer> alwaysTrue = new LineProcessor<Integer>() { 103 CharStreams.readLines(r, alwaysTrue).intValue());
|
/external/caliper/caliper/src/main/java/com/google/caliper/memory/ |
ObjectGraphMeasurer.java | 149 * <p>Equivalent to {@code measure(rootObject, Predicates.alwaysTrue())}. 155 return measure(rootObject, Predicates.alwaysTrue());
|
/libcore/luni/src/test/java/libcore/java/util/ |
OptionalTest.java | 97 Predicate<String> alwaysTrue = s -> true; 100 assertSame(optionalFoo, optionalFoo.filter(alwaysTrue));
|
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ |
Predicates.java | 55 public static <T> Predicate<T> alwaysTrue() { 213 /** @see Predicates#alwaysTrue() */ 219 return "Predicates.alwaysTrue()";
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
IterablesTest.java | 217 assertEquals("cool", Iterables.find(list, Predicates.alwaysTrue())); 231 Iterables.find(list, Predicates.alwaysTrue(), "woot")); 242 Iterables.tryFind(list, Predicates.alwaysTrue())); [all...] |
IteratorsTest.java | 250 Predicates.alwaysTrue()); 322 assertEquals("cool", Iterators.find(iterator, Predicates.alwaysTrue())); 361 Iterators.find(iterator, Predicates.alwaysTrue(), "woot")); 383 Iterators.tryFind(iterator, Predicates.alwaysTrue()).get()); [all...] |
/external/guava/guava/src/com/google/common/base/ |
Predicates.java | 58 public static <T> Predicate<T> alwaysTrue() { 276 /** @see Predicates#alwaysTrue() */ 282 return "Predicates.alwaysTrue()";
|
/external/guava/guava-tests/test/com/google/common/collect/ |
IteratorsTest.java | 297 Predicates.alwaysTrue()); 386 assertEquals("cool", Iterators.find(iterator, Predicates.alwaysTrue())); 425 Iterators.find(iterator, Predicates.alwaysTrue(), "woot")); 447 Iterators.tryFind(iterator, Predicates.alwaysTrue()).get()); [all...] |
IterablesTest.java | 245 assertEquals("cool", Iterables.find(list, Predicates.alwaysTrue())); 259 Iterables.find(list, Predicates.alwaysTrue(), "woot")); 270 Iterables.tryFind(list, Predicates.alwaysTrue())); [all...] |
FluentIterableTest.java | 256 assertEquals(Optional.of("cool"), iterable.firstMatch(Predicates.alwaysTrue()));
|
/external/guava/guava/src/com/google/common/collect/ |
StandardTable.java | 20 import static com.google.common.base.Predicates.alwaysTrue; 467 removeFromColumnIf(alwaysTrue());
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
ArbitraryInstances.java | 213 .put(Predicate.class, Predicates.alwaysTrue())
|
/prebuilts/tools/common/m2/repository/org/parboiled/parboiled-core/1.0.2/ |
parboiled-core-1.0.2.jar | |
/packages/apps/Messaging/build/gcheckstyle/ |
google-style-checker_deploy.jar | |
/prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-compiler/0.12.613/ |
kotlin-compiler-0.12.613.jar | |
/prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-compiler-embeddable/0.13.1513/ |
kotlin-compiler-embeddable-0.13.1513.jar | |