HomeSort by relevance Sort by last modified time
    Searched refs:alwaysFalse (Results 1 - 25 of 90) sorted by null

1 2 3 4

  /libcore/luni/src/test/java/libcore/java/util/function/
DoublePredicateTest.java 40 DoublePredicate alwaysFalse =
52 assertFalse(alwaysTrue.and(alwaysFalse).test(arg));
57 assertFalse(alwaysFalse.and(alwaysFalse2).test(arg));
62 assertFalse(alwaysFalse.and(alwaysTrue).test(arg));
79 DoublePredicate alwaysFalse = x -> { assertEquals(x, arg); return false; };
80 assertTrue(alwaysFalse.negate().test(arg));
97 DoublePredicate alwaysFalse =
109 assertTrue(alwaysTrue.or(alwaysFalse).test(arg));
114 assertFalse(alwaysFalse.or(alwaysFalse2).test(arg));
119 assertTrue(alwaysFalse.or(alwaysTrue).test(arg))
    [all...]
IntPredicateTest.java 40 IntPredicate alwaysFalse =
52 assertFalse(alwaysTrue.and(alwaysFalse).test(arg));
57 assertFalse(alwaysFalse.and(alwaysFalse2).test(arg));
62 assertFalse(alwaysFalse.and(alwaysTrue).test(arg));
79 IntPredicate alwaysFalse = x -> { assertEquals(x, arg); return false; };
80 assertTrue(alwaysFalse.negate().test(arg));
97 IntPredicate alwaysFalse =
109 assertTrue(alwaysTrue.or(alwaysFalse).test(arg));
114 assertFalse(alwaysFalse.or(alwaysFalse2).test(arg));
119 assertTrue(alwaysFalse.or(alwaysTrue).test(arg))
    [all...]
LongPredicateTest.java 36 LongPredicate alwaysFalse = x -> { alwaysFalseInvoked.set(true); return false; };
46 assertFalse(alwaysTrue.and(alwaysFalse).test(1L));
51 assertFalse(alwaysFalse.and(alwaysFalse2).test(1L));
56 assertFalse(alwaysFalse.and(alwaysTrue).test(1L));
73 LongPredicate alwaysFalse = x -> { assertEquals(x, arg); return false; };
74 assertTrue(alwaysFalse.negate().test(arg));
87 LongPredicate alwaysFalse = x -> { alwaysFalseInvoked.set(true); return false; };
97 assertTrue(alwaysTrue.or(alwaysFalse).test(1L));
102 assertFalse(alwaysFalse.or(alwaysFalse2).test(1L));
107 assertTrue(alwaysFalse.or(alwaysTrue).test(1L))
    [all...]
PredicateTest.java 40 Predicate<Object> alwaysFalse =
52 assertFalse(alwaysTrue.and(alwaysFalse).test(arg));
57 assertFalse(alwaysFalse.and(alwaysFalse2).test(arg));
62 assertFalse(alwaysFalse.and(alwaysTrue).test(arg));
79 Predicate<Object> alwaysFalse = x -> false;
80 assertTrue(alwaysFalse.negate().test(null));
97 Predicate<Object> alwaysFalse =
109 assertTrue(alwaysTrue.or(alwaysFalse).test(arg));
114 assertFalse(alwaysFalse.or(alwaysFalse2).test(arg));
119 assertTrue(alwaysFalse.or(alwaysTrue).test(arg))
    [all...]
BiPredicateTest.java 40 BiPredicate<Object, Object> alwaysFalse =
52 assertFalse(alwaysTrue.and(alwaysFalse).test(arg1, arg2));
57 assertFalse(alwaysFalse.and(alwaysFalse2).test(arg1, arg2));
62 assertFalse(alwaysFalse.and(alwaysTrue).test(arg1, arg2));
81 BiPredicate<Object, Object> alwaysFalse =
83 assertTrue(alwaysFalse.negate().test(arg1, arg2));
100 BiPredicate<Object, Object> alwaysFalse =
112 assertTrue(alwaysTrue.or(alwaysFalse).test(arg1, arg2));
117 assertFalse(alwaysFalse.or(alwaysFalse2).test(arg1, arg2));
122 assertTrue(alwaysFalse.or(alwaysTrue).test(arg1, arg2))
    [all...]
  /external/caliper/caliper/src/main/java/com/google/caliper/platform/dalvik/
DalvikPlatform.java 83 return Predicates.alwaysFalse();
  /external/guava/guava-tests/test/com/google/common/base/
PredicatesTest.java 50 private static final Predicate<Integer> FALSE = Predicates.alwaysFalse();
100 .addEqualityGroup(Predicates.alwaysFalse())
110 * Tests for Predicates.alwaysFalse().
114 assertEvalsToFalse(Predicates.alwaysFalse());
119 .addEqualityGroup(FALSE, Predicates.alwaysFalse())
127 checkSerialization(Predicates.alwaysFalse());
156 .addEqualityGroup(FALSE, Predicates.alwaysFalse())
305 Predicate[] array = {Predicates.alwaysFalse()};
316 list.add(Predicates.alwaysFalse());
330 list.add(Predicates.alwaysFalse());
    [all...]
FunctionsTest.java 337 Function<Object, Boolean> alwaysFalse =
338 Functions.forPredicate(Predicates.alwaysFalse());
341 assertFalse(alwaysFalse.apply(0));
346 .addEqualityGroup(alwaysFalse)
  /external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
FunctionsTest.java 239 Function<Object, Boolean> alwaysFalse =
240 Functions.forPredicate(Predicates.alwaysFalse());
243 assertFalse(alwaysFalse.apply(0));
248 .addEqualityGroup(alwaysFalse)
PredicatesTest.java 45 private static final Predicate<Integer> FALSE = Predicates.alwaysFalse();
95 .addEqualityGroup(Predicates.alwaysFalse())
100 * Tests for Predicates.alwaysFalse().
104 assertEvalsToFalse(Predicates.alwaysFalse());
109 .addEqualityGroup(FALSE, Predicates.alwaysFalse())
141 .addEqualityGroup(FALSE, Predicates.alwaysFalse())
256 Predicate[] array = {Predicates.alwaysFalse()};
267 list.add(Predicates.alwaysFalse());
281 list.add(Predicates.alwaysFalse());
393 Predicate[] array = {Predicates.alwaysFalse()};
    [all...]
  /external/guava/guava-tests/test/com/google/common/io/
CharStreamsTest.java 73 LineProcessor<Integer> alwaysFalse = new LineProcessor<Integer>() {
86 CharStreams.readLines(r, alwaysFalse).intValue());
  /libcore/luni/src/test/java/libcore/java/util/
OptionalTest.java 98 Predicate<String> alwaysFalse = s -> false;
99 assertSame(empty, optionalFoo.filter(alwaysFalse));
  /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
IteratorsTest.java 241 Predicates.alwaysFalse());
312 Iterators.find(iterator, Predicates.alwaysFalse());
345 Iterators.find(iterator, Predicates.alwaysFalse(), "woot"));
353 Iterators.find(iterator, Predicates.alwaysFalse(), null));
390 Iterators.tryFind(iterator, Predicates.alwaysFalse()).or("woot"));
398 Iterators.tryFind(iterator, Predicates.alwaysFalse()).isPresent());
    [all...]
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()));
    [all...]
MapsTest.java     [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
IteratorsTest.java 288 Predicates.alwaysFalse());
376 Iterators.find(iterator, Predicates.alwaysFalse());
409 Iterators.find(iterator, Predicates.alwaysFalse(), "woot"));
417 Iterators.find(iterator, Predicates.alwaysFalse(), null));
454 Iterators.tryFind(iterator, Predicates.alwaysFalse()).or("woot"));
462 Iterators.tryFind(iterator, Predicates.alwaysFalse()).isPresent());
    [all...]
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()));
    [all...]
FluentIterableTest.java 255 assertEquals(Optional.absent(), iterable.firstMatch(Predicates.alwaysFalse()));
MapsTest.java     [all...]
  /external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
Predicates.java 63 public static <T> Predicate<T> alwaysFalse() {
222 /** @see Predicates#alwaysFalse() */
228 return "Predicates.alwaysFalse()";
  /external/guava/guava/src/com/google/common/base/
Predicates.java 66 public static <T> Predicate<T> alwaysFalse() {
285 /** @see Predicates#alwaysFalse() */
291 return "Predicates.alwaysFalse()";
  /prebuilts/tools/common/m2/repository/org/parboiled/parboiled-core/1.0.2/
parboiled-core-1.0.2.jar 
  /external/robolectric/v1/lib/main/
h2-1.2.147.jar 
  /packages/apps/Messaging/build/gcheckstyle/
google-style-checker_deploy.jar 
  /prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-compiler-embeddable/0.13.1513/
kotlin-compiler-embeddable-0.13.1513.jar 

Completed in 807 milliseconds

1 2 3 4