/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | CollectorOps.java | 35 return new StatefulCollector<>(0, StreamShape.REFERENCE); in collector() 41 private final StreamShape inputShape; 43 public StatefulCollector(int opFlags, StreamShape inputShape) { in StatefulCollector() 49 public StreamShape inputShape() { in inputShape() 54 public StreamShape outputShape() { in outputShape() 78 this(StreamShape.REFERENCE); in TestParallelSizedOp() 81 protected TestParallelSizedOp(StreamShape shape) { in TestParallelSizedOp() 97 super(StreamShape.INT_VALUE); in OfInt() 103 super(StreamShape.LONG_VALUE); in OfLong() 109 super(StreamShape.DOUBLE_VALUE); in OfDouble()
|
D | FlagDeclaringOp.java | 31 private final StreamShape shape; 34 this(flags, StreamShape.REFERENCE); in FlagDeclaringOp() 37 public FlagDeclaringOp(int flags, StreamShape shape) { in FlagDeclaringOp() 43 public StreamShape outputShape() { in outputShape() 48 public StreamShape inputShape() { in inputShape()
|
D | TestFlagExpectedOp.java | 33 StreamShape shape = StreamShape.REFERENCE; 58 Builder<T> shape(StreamShape shape) { in shape() 71 final StreamShape shape; 77 this(flags, known, preserve, notKnown, StreamShape.REFERENCE); in TestFlagExpectedOp() 84 StreamShape shape) { in TestFlagExpectedOp() 93 public StreamShape outputShape() { in outputShape() 98 public StreamShape inputShape() { in inputShape()
|
D | StatelessTestOp.java | 65 default StreamShape inputShape() { return StreamShape.REFERENCE; } 67 default StreamShape outputShape() { return StreamShape.REFERENCE; }
|
D | StatefulTestOp.java | 121 default StreamShape inputShape() { return StreamShape.REFERENCE; } 123 default StreamShape outputShape() { return StreamShape.REFERENCE; }
|
D | OpTestCase.java | 54 private final Map<StreamShape, Set<? extends BaseStreamTestScenario>> testScenarios; 57 testScenarios = new EnumMap<>(StreamShape.class); in OpTestCase() 58 …testScenarios.put(StreamShape.REFERENCE, Collections.unmodifiableSet(EnumSet.allOf(StreamTestScena… in OpTestCase() 59 …testScenarios.put(StreamShape.INT_VALUE, Collections.unmodifiableSet(EnumSet.allOf(IntStreamTestSc… in OpTestCase() 60 …testScenarios.put(StreamShape.LONG_VALUE, Collections.unmodifiableSet(EnumSet.allOf(LongStreamTest… in OpTestCase() 61 …testScenarios.put(StreamShape.DOUBLE_VALUE, Collections.unmodifiableSet(EnumSet.allOf(DoubleStream… in OpTestCase() 91 StreamShape getShape(); in getShape() 251 final StreamShape shape; 449 default R run(Function<S_OUT, R> terminalF, S_OUT source, StreamShape shape) { in run() 460 public Object run(Function terminalF, BaseStream source, StreamShape shape) { in SINGLE_SEQUENTIAL_SHORT_CIRCUIT() [all …]
|
D | TestData.java | 57 StreamShape getShape(); in getShape() 212 private final StreamShape shape; 220 StreamShape shape, in AbstractTestData() 236 public StreamShape getShape() { in getShape() 275 super(name, StreamShape.REFERENCE, state, streamFn, parStreamFn, splitrFn, sizeFn); in RefTestData() 290 super(name, StreamShape.INT_VALUE, state, streamFn, parStreamFn, splitrFn, sizeFn); in IntTestData() 315 super(name, StreamShape.LONG_VALUE, state, streamFn, parStreamFn, splitrFn, sizeFn); in LongTestData() 340 … super(name, StreamShape.DOUBLE_VALUE, state, streamFn, parStreamFn, splitrFn, sizeFn); in DoubleTestData()
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | CollectorOps.java | 36 return new StatefulCollector<>(0, StreamShape.REFERENCE); in collector() 42 private final StreamShape inputShape; 44 public StatefulCollector(int opFlags, StreamShape inputShape) { in StatefulCollector() 50 public StreamShape inputShape() { in inputShape() 55 public StreamShape outputShape() { in outputShape() 79 this(StreamShape.REFERENCE); in TestParallelSizedOp() 82 protected TestParallelSizedOp(StreamShape shape) { in TestParallelSizedOp() 98 super(StreamShape.INT_VALUE); in OfInt() 104 super(StreamShape.LONG_VALUE); in OfLong() 110 super(StreamShape.DOUBLE_VALUE); in OfDouble()
|
D | FlagDeclaringOp.java | 26 import java.util.stream.StreamShape; 34 private final StreamShape shape; 37 this(flags, StreamShape.REFERENCE); in FlagDeclaringOp() 40 public FlagDeclaringOp(int flags, StreamShape shape) { in FlagDeclaringOp() 46 public StreamShape outputShape() { in outputShape() 51 public StreamShape inputShape() { in inputShape()
|
D | TestFlagExpectedOp.java | 34 StreamShape shape = StreamShape.REFERENCE; 59 Builder<T> shape(StreamShape shape) { in shape() 72 final StreamShape shape; 78 this(flags, known, preserve, notKnown, StreamShape.REFERENCE); in TestFlagExpectedOp() 85 StreamShape shape) { in TestFlagExpectedOp() 94 public StreamShape outputShape() { in outputShape() 99 public StreamShape inputShape() { in inputShape()
|
D | StatelessTestOp.java | 30 import java.util.stream.StreamShape; 75 default StreamShape inputShape() { return StreamShape.REFERENCE; } 77 default StreamShape outputShape() { return StreamShape.REFERENCE; }
|
D | StatefulTestOp.java | 122 default StreamShape inputShape() { return StreamShape.REFERENCE; } 124 default StreamShape outputShape() { return StreamShape.REFERENCE; }
|
D | OpTestCase.java | 55 private final Map<StreamShape, Set<? extends BaseStreamTestScenario>> testScenarios; 58 testScenarios = new EnumMap<>(StreamShape.class); in OpTestCase() 59 …testScenarios.put(StreamShape.REFERENCE, Collections.unmodifiableSet(EnumSet.allOf(StreamTestScena… in OpTestCase() 60 …testScenarios.put(StreamShape.INT_VALUE, Collections.unmodifiableSet(EnumSet.allOf(IntStreamTestSc… in OpTestCase() 61 …testScenarios.put(StreamShape.LONG_VALUE, Collections.unmodifiableSet(EnumSet.allOf(LongStreamTest… in OpTestCase() 62 …testScenarios.put(StreamShape.DOUBLE_VALUE, Collections.unmodifiableSet(EnumSet.allOf(DoubleStream… in OpTestCase() 92 StreamShape getShape(); in getShape() 252 final StreamShape shape; 450 default R run(Function<S_OUT, R> terminalF, S_OUT source, StreamShape shape) { in run() 461 public Object run(Function terminalF, BaseStream source, StreamShape shape) { in SINGLE_SEQUENTIAL_SHORT_CIRCUIT() [all …]
|
D | TestData.java | 58 StreamShape getShape(); in getShape() 213 private final StreamShape shape; 221 StreamShape shape, in AbstractTestData() 237 public StreamShape getShape() { in getShape() 276 super(name, StreamShape.REFERENCE, state, streamFn, parStreamFn, splitrFn, sizeFn); in RefTestData() 291 super(name, StreamShape.INT_VALUE, state, streamFn, parStreamFn, splitrFn, sizeFn); in IntTestData() 316 super(name, StreamShape.LONG_VALUE, state, streamFn, parStreamFn, splitrFn, sizeFn); in LongTestData() 341 … super(name, StreamShape.DOUBLE_VALUE, state, streamFn, parStreamFn, splitrFn, sizeFn); in DoubleTestData()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | MatchOps.java | 97 return new MatchOp<>(StreamShape.REFERENCE, matchKind, MatchSink::new); in makeRef() 126 return new MatchOp<>(StreamShape.INT_VALUE, matchKind, MatchSink::new); in makeInt() 156 return new MatchOp<>(StreamShape.LONG_VALUE, matchKind, MatchSink::new); in makeLong() 186 return new MatchOp<>(StreamShape.DOUBLE_VALUE, matchKind, MatchSink::new); in makeDouble() 197 private final StreamShape inputShape; 209 MatchOp(StreamShape shape, in MatchOp() 223 public StreamShape inputShape() { in inputShape()
|
D | IntPipeline.java | 134 public final StreamShape getOutputShape() { in getOutputShape() 135 return StreamShape.INT_VALUE; in getOutputShape() 189 return new LongPipeline.StatelessOp<Integer>(this, StreamShape.INT_VALUE, in asLongStream() 205 return new DoublePipeline.StatelessOp<Integer>(this, StreamShape.INT_VALUE, 227 return new StatelessOp<Integer>(this, StreamShape.INT_VALUE, 244 return new ReferencePipeline.StatelessOp<Integer, U>(this, StreamShape.INT_VALUE, 261 return new LongPipeline.StatelessOp<Integer>(this, StreamShape.INT_VALUE, 278 return new DoublePipeline.StatelessOp<Integer>(this, StreamShape.INT_VALUE, 294 return new StatelessOp<Integer>(this, StreamShape.INT_VALUE, 321 return new StatelessOp<Integer>(this, StreamShape.INT_VALUE, StreamOpFlag.NOT_ORDERED) { [all …]
|
D | ReduceOps.java | 88 return new ReduceOp<T, U, ReducingSink>(StreamShape.REFERENCE) { in makeRef() 138 return new ReduceOp<T, Optional<T>, ReducingSink>(StreamShape.REFERENCE) { 177 return new ReduceOp<T, I, ReducingSink>(StreamShape.REFERENCE) { 228 return new ReduceOp<T, R, ReducingSink>(StreamShape.REFERENCE) { 271 return new ReduceOp<Integer, Integer, ReducingSink>(StreamShape.INT_VALUE) { 321 return new ReduceOp<Integer, OptionalInt, ReducingSink>(StreamShape.INT_VALUE) { 364 return new ReduceOp<Integer, R, ReducingSink>(StreamShape.INT_VALUE) { 407 return new ReduceOp<Long, Long, ReducingSink>(StreamShape.LONG_VALUE) { 457 return new ReduceOp<Long, OptionalLong, ReducingSink>(StreamShape.LONG_VALUE) { 500 return new ReduceOp<Long, R, ReducingSink>(StreamShape.LONG_VALUE) { [all …]
|
D | LongPipeline.java | 132 public final StreamShape getOutputShape() { in getOutputShape() 133 return StreamShape.LONG_VALUE; in getOutputShape() 186 return new DoublePipeline.StatelessOp<Long>(this, StreamShape.LONG_VALUE, in asDoubleStream() 208 return new StatelessOp<Long>(this, StreamShape.LONG_VALUE, 225 return new ReferencePipeline.StatelessOp<Long, U>(this, StreamShape.LONG_VALUE, 242 return new IntPipeline.StatelessOp<Long>(this, StreamShape.LONG_VALUE, 259 return new DoublePipeline.StatelessOp<Long>(this, StreamShape.LONG_VALUE, 275 return new StatelessOp<Long>(this, StreamShape.LONG_VALUE, 302 return new StatelessOp<Long>(this, StreamShape.LONG_VALUE, StreamOpFlag.NOT_ORDERED) { 313 return new StatelessOp<Long>(this, StreamShape.LONG_VALUE, [all …]
|
D | FindOps.java | 58 return new FindOp<>(mustFindFirst, StreamShape.REFERENCE, Optional.empty(), in makeRef() 70 return new FindOp<>(mustFindFirst, StreamShape.INT_VALUE, OptionalInt.empty(), in makeInt() 82 return new FindOp<>(mustFindFirst, StreamShape.LONG_VALUE, OptionalLong.empty(), in makeLong() 94 return new FindOp<>(mustFindFirst, StreamShape.DOUBLE_VALUE, OptionalDouble.empty(), in makeDouble() 109 private final StreamShape shape; 128 StreamShape shape, in FindOp() 145 public StreamShape inputShape() { in inputShape()
|
D | Node.java | 174 default StreamShape getShape() { in getShape() 175 return StreamShape.REFERENCE; in getShape() 379 default StreamShape getShape() { in getShape() 380 return StreamShape.INT_VALUE; in getShape() 452 default StreamShape getShape() { in getShape() 453 return StreamShape.LONG_VALUE; in getShape() 528 default StreamShape getShape() { in getShape() 529 return StreamShape.DOUBLE_VALUE; in getShape()
|
D | ReferencePipeline.java | 101 public final StreamShape getOutputShape() { in getOutputShape() 102 return StreamShape.REFERENCE; in getOutputShape() 152 … return new StatelessOp<P_OUT, P_OUT>(this, StreamShape.REFERENCE, StreamOpFlag.NOT_ORDERED) { in unordered() 163 return new StatelessOp<P_OUT, P_OUT>(this, StreamShape.REFERENCE, 187 return new StatelessOp<P_OUT, R>(this, StreamShape.REFERENCE, 204 return new IntPipeline.StatelessOp<P_OUT>(this, StreamShape.REFERENCE, 221 return new LongPipeline.StatelessOp<P_OUT>(this, StreamShape.REFERENCE, 238 return new DoublePipeline.StatelessOp<P_OUT>(this, StreamShape.REFERENCE, 256 return new StatelessOp<P_OUT, R>(this, StreamShape.REFERENCE, 283 return new IntPipeline.StatelessOp<P_OUT>(this, StreamShape.REFERENCE, [all …]
|
D | TerminalOp.java | 53 default StreamShape inputShape() { return StreamShape.REFERENCE; } in inputShape()
|
D | DoublePipeline.java | 131 public final StreamShape getOutputShape() { in getOutputShape() 132 return StreamShape.DOUBLE_VALUE; in getOutputShape() 191 return new StatelessOp<Double>(this, StreamShape.DOUBLE_VALUE, in map() 208 return new ReferencePipeline.StatelessOp<Double, U>(this, StreamShape.DOUBLE_VALUE, 225 return new IntPipeline.StatelessOp<Double>(this, StreamShape.DOUBLE_VALUE, 242 return new LongPipeline.StatelessOp<Double>(this, StreamShape.DOUBLE_VALUE, 258 return new StatelessOp<Double>(this, StreamShape.DOUBLE_VALUE, 285 return new StatelessOp<Double>(this, StreamShape.DOUBLE_VALUE, StreamOpFlag.NOT_ORDERED) { 296 return new StatelessOp<Double>(this, StreamShape.DOUBLE_VALUE, 319 return new StatelessOp<Double>(this, StreamShape.DOUBLE_VALUE, [all …]
|
D | ForEachOps.java | 199 public StreamShape inputShape() { in inputShape() 200 return StreamShape.INT_VALUE; in inputShape() 220 public StreamShape inputShape() { in inputShape() 221 return StreamShape.LONG_VALUE; in inputShape() 241 public StreamShape inputShape() { in inputShape() 242 return StreamShape.DOUBLE_VALUE; in inputShape()
|
D | StreamShape.java | 50 public enum StreamShape { enum
|