Home | History | Annotate | Download | only in stream

Lines Matching defs:ALL

2  * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
79 private enum Kind { ANY, ALL, NONE }
89 put(Kind.ALL, p -> s -> s.allMatch(p));
108 assertPredicates(countTo(0), Kind.ALL, INTEGER_PREDICATES, true, true, true, true);
112 assertPredicates(countTo(1), Kind.ALL, INTEGER_PREDICATES, true, false, false, true);
116 assertPredicates(countTo(5), Kind.ALL, INTEGER_PREDICATES, true, false, false, false);
179 put(Kind.ALL, p -> s -> s.allMatch(p));
193 assertIntPredicates(() -> IntStream.range(0, 0), Kind.ALL, INT_PREDICATES, true, true, true, true);
197 assertIntPredicates(() -> IntStream.range(1, 2), Kind.ALL, INT_PREDICATES, true, false, false, true);
201 assertIntPredicates(() -> IntStream.range(1, 6), Kind.ALL, INT_PREDICATES, true, false, false, false);
264 put(Kind.ALL, p -> s -> s.allMatch(p));
278 assertLongPredicates(() -> LongStream.range(0, 0), Kind.ALL, LONG_PREDICATES, true, true, true, true);
282 assertLongPredicates(() -> LongStream.range(1, 2), Kind.ALL, LONG_PREDICATES, true, false, false, true);
286 assertLongPredicates(() -> LongStream.range(1, 6), Kind.ALL, LONG_PREDICATES, true, false, false, false);
349 put(Kind.ALL, p -> s -> s.allMatch(p));
363 assertDoublePredicates(() -> LongStream.range(0, 0).asDoubleStream(), Kind.ALL, DOUBLE_PREDICATES, true, true, true, true);
367 assertDoublePredicates(() -> LongStream.range(1, 2).asDoubleStream(), Kind.ALL, DOUBLE_PREDICATES, true, false, false, true);
371 assertDoublePredicates(() -> LongStream.range(1, 6).asDoubleStream(), Kind.ALL, DOUBLE_PREDICATES, true, false, false, false);