Home
last modified time | relevance | path

Searched refs:Function (Results 1 – 25 of 76) sorted by relevance

1234

/libcore/luni/src/test/java/libcore/java/util/function/
DFunctionTest.java21 import java.util.function.Function;
27 assertSame(o, Function.identity().apply(o)); in testIdentity()
28 assertNull(Function.identity().apply(null)); in testIdentity()
32 Function<Double, Double> plusOne = x -> x + 1.0d; in testCompose()
33 Function<Double, Double> twice = x -> 2 *x; in testCompose()
38 Function<Double, Double> plusOne = x -> x + 1.0d; in testCompose_null()
46 Function<Double, Double> plusOne = x -> x + 1.0d; in testAndThen()
47 Function<Double, Double> twice = x -> 2 *x; in testAndThen()
52 Function<Double, Double> plusOne = x -> x + 1.0d; in testAndThen_null()
DBiFunctionTest.java22 import java.util.function.Function;
28 Function<Integer, String> toString = i -> Integer.toString(i); in testAndThen()
42 Function<Integer, String> assertNull = i -> { assertNull(i); return "ok"; }; in testAndThen_nullResult()
/libcore/ojluni/src/main/java/java/util/function/
DFunction.java41 public interface Function<T, R> { interface
66 default <V> Function<V, R> compose(Function<? super V, ? extends T> before) { in compose()
86 default <V> Function<T, V> andThen(Function<? super R, ? extends V> after) { in andThen()
97 static <T> Function<T, T> identity() { in identity()
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DIntStreamTestScenario.java31 import java.util.function.Function;
51 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_FOR_EACH_WITH_CLOSE()
63 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_TO_ARRAY()
72 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_ITERATOR()
81 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_SPLITERATOR()
90 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT()
98 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_SPLITERATOR_FOREACH()
105 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in PAR_STREAM_SEQUENTIAL_FOR_EACH()
113 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in PAR_STREAM_FOR_EACH_ORDERED()
122 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in PAR_STREAM_SPLITERATOR()
[all …]
DDoubleStreamTestScenario.java32 import java.util.function.Function;
52 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_FOR_EACH_WITH_CLOSE()
64 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_TO_ARRAY()
73 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_ITERATOR()
82 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_SPLITERATOR()
91 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT()
99 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_SPLITERATOR_FOREACH()
106 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in PAR_STREAM_SEQUENTIAL_FOR_EACH()
114 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in PAR_STREAM_FOR_EACH_ORDERED()
123 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in PAR_STREAM_SPLITERATOR()
[all …]
DLongStreamTestScenario.java31 import java.util.function.Function;
51 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_FOR_EACH_WITH_CLOSE()
63 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_TO_ARRAY()
72 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_ITERATOR()
81 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_SPLITERATOR()
90 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT()
98 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_SPLITERATOR_FOREACH()
105 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in PAR_STREAM_SEQUENTIAL_FOR_EACH()
113 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in PAR_STREAM_FOR_EACH_ORDERED()
122 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in PAR_STREAM_SPLITERATOR()
[all …]
DStreamTestScenario.java31 import java.util.function.Function;
50 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_FOR_EACH_WITH_CLOSE()
63 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_COLLECT()
73 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_TO_ARRAY()
83 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_ITERATOR()
92 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_SPLITERATOR()
100 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT()
108 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_SPLITERATOR_FOREACH()
116 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in PAR_STREAM_SEQUENTIAL_FOR_EACH()
124 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in PAR_STREAM_FOR_EACH_ORDERED()
[all …]
DOpTestCase.java42 import java.util.function.Function;
99 void run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, S_OUT> m); in run()
103 Collection<U> exerciseOps(TestData<T, S_IN> data, Function<S_IN, S_OUT> m) { in exerciseOps()
112 Function<S_IN, S_OUT>... ms) { in exerciseOpsMulti()
114 for (Function<S_IN, S_OUT> m : ms) { in exerciseOpsMulti()
130 Function<Stream<Integer>, Stream<Integer>> mRef, in exerciseOpsInt()
131 Function<IntStream, IntStream> mInt, in exerciseOpsInt()
132 Function<LongStream, LongStream> mLong, in exerciseOpsInt()
133 Function<DoubleStream, DoubleStream> mDouble) { in exerciseOpsInt()
135 Function<Stream<Integer>, Stream<Integer>>[] ms = new Function[4]; in exerciseOpsInt()
[all …]
DTestData.java32 import java.util.function.Function;
216 private final Function<T_STATE, S> streamFn;
217 private final Function<T_STATE, S> parStreamFn;
218 private final Function<T_STATE, T_SPLITR> splitrFn;
223 Function<T_STATE, S> streamFn, in AbstractTestData()
224 Function<T_STATE, S> parStreamFn, in AbstractTestData()
225 Function<T_STATE, T_SPLITR> splitrFn, in AbstractTestData()
272 Function<I, Stream<T>> streamFn, in RefTestData()
273 Function<I, Stream<T>> parStreamFn, in RefTestData()
274 Function<I, Spliterator<T>> splitrFn, in RefTestData()
[all …]
DLambdaTestHelpers.java34 import java.util.function.Function;
68 public static final Function<Integer, Integer> mZero = x -> 0;
69 public static final Function<Integer, Integer> mId = x -> x;
70 public static final Function<Integer, Integer> mDoubler = x -> x * 2;
71 …public static final Function<Integer, Stream<Integer>> mfId = e -> Collections.singletonList(e).st…
72 …public static final Function<Integer, Stream<Integer>> mfNull = e -> Collections.<Integer>emptyLis…
73 public static final Function<Integer, Stream<Integer>> mfLt = e -> {
118 public static final Function<String, Stream<Character>> flattenChars = string -> {
125 public static final Function<String, IntStream> flattenInt
128 …public static <T, R> Function<T, R> forPredicate(Predicate<? super T> predicate, R forTrue, R forF… in forPredicate()
[all …]
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
DDoubleStreamTestScenario.java32 import java.util.function.Function;
48 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_FOR_EACH_WITH_CLOSE()
60 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_TO_ARRAY()
69 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_ITERATOR()
78 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_SPLITERATOR()
87 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT()
95 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_SPLITERATOR_FOREACH()
102 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in PAR_STREAM_SEQUENTIAL_FOR_EACH()
110 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in PAR_STREAM_FOR_EACH_ORDERED()
119 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in PAR_STREAM_SPLITERATOR()
[all …]
DIntStreamTestScenario.java31 import java.util.function.Function;
48 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_FOR_EACH_WITH_CLOSE()
60 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_TO_ARRAY()
69 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_ITERATOR()
78 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_SPLITERATOR()
87 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT()
95 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_SPLITERATOR_FOREACH()
102 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in PAR_STREAM_SEQUENTIAL_FOR_EACH()
110 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in PAR_STREAM_FOR_EACH_ORDERED()
119 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in PAR_STREAM_SPLITERATOR()
[all …]
DLongStreamTestScenario.java31 import java.util.function.Function;
48 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_FOR_EACH_WITH_CLOSE()
60 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_TO_ARRAY()
69 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_ITERATOR()
78 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_SPLITERATOR()
87 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT()
95 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_SPLITERATOR_FOREACH()
102 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in PAR_STREAM_SEQUENTIAL_FOR_EACH()
110 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in PAR_STREAM_FOR_EACH_ORDERED()
119 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in PAR_STREAM_SPLITERATOR()
[all …]
DStreamTestScenario.java31 import java.util.function.Function;
47 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_FOR_EACH_WITH_CLOSE()
60 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_COLLECT()
70 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_TO_ARRAY()
80 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_ITERATOR()
89 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_SPLITERATOR()
97 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT()
105 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_SPLITERATOR_FOREACH()
113 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in PAR_STREAM_SEQUENTIAL_FOR_EACH()
121 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in PAR_STREAM_FOR_EACH_ORDERED()
[all …]
DOpTestCase.java42 import java.util.function.Function;
98 void run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, S_OUT> m); in run()
102 Collection<U> exerciseOps(TestData<T, S_IN> data, Function<S_IN, S_OUT> m) { in exerciseOps()
111 Function<S_IN, S_OUT>... ms) { in exerciseOpsMulti()
113 for (Function<S_IN, S_OUT> m : ms) { in exerciseOpsMulti()
129 Function<Stream<Integer>, Stream<Integer>> mRef, in exerciseOpsInt()
130 Function<IntStream, IntStream> mInt, in exerciseOpsInt()
131 Function<LongStream, LongStream> mLong, in exerciseOpsInt()
132 Function<DoubleStream, DoubleStream> mDouble) { in exerciseOpsInt()
134 Function<Stream<Integer>, Stream<Integer>>[] ms = new Function[4]; in exerciseOpsInt()
[all …]
DTestData.java32 import java.util.function.Function;
215 private final Function<T_STATE, S> streamFn;
216 private final Function<T_STATE, S> parStreamFn;
217 private final Function<T_STATE, T_SPLITR> splitrFn;
222 Function<T_STATE, S> streamFn, in AbstractTestData()
223 Function<T_STATE, S> parStreamFn, in AbstractTestData()
224 Function<T_STATE, T_SPLITR> splitrFn, in AbstractTestData()
271 Function<I, Stream<T>> streamFn, in RefTestData()
272 Function<I, Stream<T>> parStreamFn, in RefTestData()
273 Function<I, Spliterator<T>> splitrFn, in RefTestData()
[all …]
DLambdaTestHelpers.java33 import java.util.function.Function;
67 public static final Function<Integer, Integer> mZero = x -> 0;
68 public static final Function<Integer, Integer> mId = x -> x;
69 public static final Function<Integer, Integer> mDoubler = x -> x * 2;
70 …public static final Function<Integer, Stream<Integer>> mfId = e -> Collections.singletonList(e).st…
71 …public static final Function<Integer, Stream<Integer>> mfNull = e -> Collections.<Integer>emptyLis…
72 public static final Function<Integer, Stream<Integer>> mfLt = e -> {
117 public static final Function<String, Stream<Character>> flattenChars = string -> {
124 public static final Function<String, IntStream> flattenInt
127 …public static <T, R> Function<T, R> forPredicate(Predicate<? super T> predicate, R forTrue, R forF… in forPredicate()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DCompletionStage.java41 import java.util.function.Function;
170 public <U> CompletionStage<U> thenApply(Function<? super T,? extends U> fn); in thenApply()
187 (Function<? super T,? extends U> fn); in thenApplyAsync()
204 (Function<? super T,? extends U> fn, in thenApplyAsync()
475 Function<? super T, U> fn); in applyToEither()
494 Function<? super T, U> fn); in applyToEitherAsync()
514 Function<? super T, U> fn, in applyToEitherAsync()
648 (Function<? super T, ? extends CompletionStage<U>> fn); in thenCompose()
673 (Function<? super T, ? extends CompletionStage<U>> fn); in thenComposeAsync()
698 (Function<? super T, ? extends CompletionStage<U>> fn, in thenComposeAsync()
[all …]
/libcore/luni/src/test/java/libcore/sun/security/x509/
DUtils.java21 import java.util.function.Function;
35 Function<byte[], Object> objectCreator, in test_toString_bitArrayBasedClass()
45 String[] parts, Function<byte[], Object> objectCreator, String prefix, String suffix) { in testWithEachSinglePart()
61 String[] parts, Function<byte[], Object> objectCreator, String prefix, String suffix) { in testWithAllParts()
74 String[] parts, Function<byte[], Object> objectCreator, String prefix, String suffix) { in testWithNoParts()
83 String[] parts, Function<byte[], Object> objectCreator, String prefix, String suffix) { in testWithEveryOtherPart()
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
DNodeBuilderTest.java29 import java.util.function.Function;
55 List<Function<Integer, Node.Builder<Integer>>> ms = Arrays.asList( in createNodeBuilders()
63 for (Function<Integer, Node.Builder<Integer>> m : ms) { in createNodeBuilders()
72 public void testIteration(List<Integer> l, Function<Integer, Node.Builder<Integer>> m) { in testIteration()
100 List<Function<Integer, Node.Builder<Integer>>> ms = Arrays.asList( in createIntNodeBuilders()
108 for (Function<Integer, Node.Builder<Integer>> m : ms) { in createIntNodeBuilders()
117 public void testIntIteration(List<Integer> l, Function<Integer, Node.Builder.OfInt> m) { in testIntIteration()
150 List<Function<Integer, Node.Builder<Long>>> ms = Arrays.asList( in createLongNodeBuilders()
158 for (Function<Integer, Node.Builder<Long>> m : ms) { in createLongNodeBuilders()
167 public void testLongIteration(List<Long> l, Function<Integer, Node.Builder.OfLong> m) { in testLongIteration()
[all …]
/libcore/ojluni/src/main/java/java/util/stream/
DCollectors.java53 import java.util.function.Function;
137 private static <I, R> Function<I, R> castingIdentity() { in castingIdentity()
151 private final Function<A, R> finisher;
157 Function<A,R> finisher, in CollectorImpl()
189 public Function<A, R> finisher() { in finisher()
351 Collector<T, ?, R> mapping(Function<? super T, ? extends U> mapper,
379 Function<R,RR> finisher) {
757 Function<? super T, ? extends U> mapper,
804 groupingBy(Function<? super T, ? extends K> classifier) {
851 Collector<T, ?, Map<K, D>> groupingBy(Function<? super T, ? extends K> classifier,
[all …]
/libcore/luni/src/test/parameter_metadata/src/libcore/java/lang/reflect/parameter/
DParameterMetadataTestClasses.java20 import java.util.function.Function;
37 GenericParameter(Function<String, Integer> p0) {} in GenericParameter()
39 void genericParameter(Function<String, Integer> p0) {} in genericParameter()
59 public InnerClass(Function<String, Integer> p1) {} in InnerClass()
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DToArrayOpTest.java36 import java.util.function.Function;
111 private List<Function<Stream<Integer>, Stream<Integer>>> uniqueAndSortedPermutations =
121 for (Function<Stream<Integer>, Stream<Integer>> f : uniqueAndSortedPermutations) { in testDistinctAndSortedPermutations()
143 private List<Function<Stream<Integer>, Stream<Integer>>> statefulOpPermutations =
183 for (Function<Stream<Integer>, Stream<Integer>> f : statefulOpPermutations) {
255 private List<Function<IntStream, IntStream>> intUniqueAndSortedPermutations =
265 for (Function<IntStream, IntStream> f : intUniqueAndSortedPermutations) {
270 private List<Function<IntStream, IntStream>> intStatefulOpPermutations =
279 for (Function<IntStream, IntStream> f : intStatefulOpPermutations) {
328 private List<Function<LongStream, LongStream>> longUniqueAndSortedPermutations =
[all …]
DSortedOpTest.java38 import java.util.function.Function;
58 Function<LongStream, Stream<Long>> f = s -> in testRefStreamTooLarge()
67 Function<LongStream, IntStream> f = s -> in testIntStreamTooLarge()
76 Function<LongStream, LongStream> f = s -> in testLongStreamTooLarge()
85 Function<LongStream, DoubleStream> f = s -> in testDoubleStreamTooLarge()
93 <T, S extends BaseStream<T, S>> void testStreamTooLarge(Function<LongStream, S> s, in testStreamTooLarge()
94 Function<S, ?> terminal) { in testStreamTooLarge()
99 List<Function<LongStream, LongStream>> transforms = Arrays.asList( in testStreamTooLarge()
106 for (Function<LongStream, LongStream> transform : transforms) { in testStreamTooLarge()
148 Function<Integer, Stream<Integer>> knownSize = i -> assertNCallsOnly( in testSequentialShortCircuitTerminal()
[all …]
DForEachOpTest.java40 import java.util.function.Function;
91 Function<Stream<Integer>, List<Integer>> terminalFunc = s -> {
112 Function<Stream<Integer>, List<Integer>> terminalFunc = s -> {
139 Function<IntStream, List<Integer>> terminalFunc = s -> {
160 Function<IntStream, List<Integer>> terminalFunc = s -> {
187 Function<LongStream, List<Integer>> terminalFunc = s -> {
208 Function<LongStream, List<Long>> terminalFunc = s -> {
235 Function<DoubleStream, List<Integer>> terminalFunc = s -> {
256 Function<DoubleStream, List<Double>> terminalFunc = s -> {

1234