Searched refs:TerminalOp (Results 1 - 8 of 8) sorted by relevance

/libcore/ojluni/src/main/java/java/util/stream/
H A DTerminalOp.java31 * a result or side-effect. A {@code TerminalOp} has an input type and stream
32 * shape, and a result type. A {@code TerminalOp} also has a set of
37 * <p>A {@code TerminalOp} must provide a sequential and parallel implementation
45 interface TerminalOp<E_IN, R> { interface
83 Tripwire.trip(getClass(), "{0} triggering TerminalOp.evaluateParallel serial default");
H A DReduceOps.java46 * Factory for creating instances of {@code TerminalOp} that implement
56 * Constructs a {@code TerminalOp} that implements a functional reduce on
66 * @return a {@code TerminalOp} implementing the reduction
68 public static <T, U> TerminalOp<T, U>
97 * Constructs a {@code TerminalOp} that implements a functional reduce on
102 * @return A {@code TerminalOp} implementing the reduction
104 public static <T> TerminalOp<T, Optional<T>>
147 * Constructs a {@code TerminalOp} that implements a mutable reduce on
155 public static <T, I> TerminalOp<T, I>
193 * Constructs a {@code TerminalOp} tha
[all...]
H A DFindOps.java37 * Factory for instances of a short-circuiting {@code TerminalOp} that searches
50 * Constructs a {@code TerminalOp} for streams of objects.
53 * @param mustFindFirst whether the {@code TerminalOp} must produce the
55 * @return a {@code TerminalOp} implementing the find operation
57 public static <T> TerminalOp<T, Optional<T>> makeRef(boolean mustFindFirst) {
63 * Constructs a {@code TerminalOp} for streams of ints.
65 * @param mustFindFirst whether the {@code TerminalOp} must produce the
67 * @return a {@code TerminalOp} implementing the find operation
69 public static TerminalOp<Integer, OptionalInt> makeInt(boolean mustFindFirst) {
75 * Constructs a {@code TerminalOp} fo
[all...]
H A DMatchOps.java36 * Factory for instances of a short-circuiting {@code TerminalOp} that implement
76 * @return a {@code TerminalOp} implementing the desired quantified match
79 public static <T> TerminalOp<T, Boolean> makeRef(Predicate<? super T> predicate,
105 * @return a {@code TerminalOp} implementing the desired quantified match
108 public static TerminalOp<Integer, Boolean> makeInt(IntPredicate predicate,
134 * @return a {@code TerminalOp} implementing the desired quantified match
137 public static TerminalOp<Long, Boolean> makeLong(LongPredicate predicate,
164 * @return a {@code TerminalOp} implementing the desired quantified match
167 public static TerminalOp<Double, Boolean> makeDouble(DoublePredicate predicate,
190 * A short-circuiting {@code TerminalOp} tha
[all...]
H A DForEachOps.java39 * Factory for creating instances of {@code TerminalOp} that perform an
61 * Constructs a {@code TerminalOp} that perform an action for every element
68 * @return the {@code TerminalOp} instance
70 public static <T> TerminalOp<T, Void> makeRef(Consumer<? super T> action,
77 * Constructs a {@code TerminalOp} that perform an action for every element
83 * @return the {@code TerminalOp} instance
85 public static TerminalOp<Integer, Void> makeInt(IntConsumer action,
92 * Constructs a {@code TerminalOp} that perform an action for every element
98 * @return the {@code TerminalOp} instance
100 public static TerminalOp<Lon
[all...]
H A DDistinctOps.java61 TerminalOp<T, LinkedHashSet<T>> reduceOp
82 TerminalOp<T, Void> forEachOp = ForEachOps.makeRef(t -> {
H A DAbstractPipeline.java227 final <R> R evaluate(TerminalOp<E_OUT, R> terminalOp) {
/libcore/
H A Dopenjdk_java_files.mk798 ojluni/src/main/java/java/util/stream/TerminalOp.java \

Completed in 322 milliseconds