/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
DistinctOpTest.java | 80 public void testOp(String name, TestData.OfRef<Integer> data) { 94 public void testOpWithNull(String name, TestData.OfRef<Integer> data) { 108 public void testOpWithNullSorted(String name, TestData.OfRef<Integer> data) { 145 public void testDistinctDistinct(String name, TestData.OfRef<Integer> data) { 157 public void testDistinctSorted(String name, TestData.OfRef<Integer> data) { 167 public void testSortedDistinct(String name, TestData.OfRef<Integer> data) {
|
ToArrayOpTest.java | 60 public void testOps(String name, TestData.OfRef<Integer> data) { 65 public void testOpsWithMap(String name, TestData.OfRef<Integer> data) { 74 public void testOpsWithSorted(String name, TestData.OfRef<Integer> data) { 83 public void testOpsWithFlatMap(String name, TestData.OfRef<Integer> data) { 94 public void testOpsWithFilter(String name, TestData.OfRef<Integer> data) { 120 public void testDistinctAndSortedPermutations(String name, TestData.OfRef<Integer> data) { 150 private <T extends Object> ResultAsserter<T[]> statefulOpResultAsserter(TestData.OfRef<Integer> data) { 182 public void testStatefulOpPermutations(String name, TestData.OfRef<Integer> data) {
|
TabulatorsTest.java | 280 private<T, R> void assertCollect(TestData.OfRef<T> data, 288 public void testReduce(String name, TestData.OfRef<Integer> data) throws ReflectiveOperationException { 337 public void testJoin(String name, TestData.OfRef<Integer> data) throws ReflectiveOperationException { 385 private<T> String join(TestData.OfRef<T> data, String delim) { 398 public void testSimpleToMap(String name, TestData.OfRef<Integer> data) throws ReflectiveOperationException { 447 public void testSimpleGroupBy(String name, TestData.OfRef<Integer> data) throws ReflectiveOperationException { 471 public void testTwoLevelGroupBy(String name, TestData.OfRef<Integer> data) throws ReflectiveOperationException { 527 public void testGroupedReduce(String name, TestData.OfRef<Integer> data) throws ReflectiveOperationException { 576 public void testSimplePartition(String name, TestData.OfRef<Integer> data) throws ReflectiveOperationException { 589 public void testTwoLevelPartition(String name, TestData.OfRef<Integer> data) throws ReflectiveOperationException [all...] |
SliceOpTest.java | 153 public void testSkipOps(String name, TestData.OfRef<Integer> data) { 176 public void testSkipLimitOps(String name, TestData.OfRef<Integer> data) { 234 TestData.OfRef<Integer> data = TestData.Factory.ofSupplier( 243 public void testLimitOps(String name, TestData.OfRef<Integer> data) { 286 private void testSliceMulti(TestData.OfRef<Integer> data, 303 private final void testSliceMulti(TestData.OfRef<Integer> data,
|
CountTest.java | 51 public void testOps(String name, TestData.OfRef<Integer> data) {
|
ReduceByOpTest.java | 50 public void testOps(String name, TestData.OfRef<Integer> data) {
|
FindFirstOpTest.java | 60 public void testStream(String name, TestData.OfRef<Integer> data) { 67 void exerciseStream(TestData.OfRef<Integer> data, Function<Stream<Integer>, Stream<Integer>> fs) {
|
GroupByOpTest.java | 110 List<MapperData<Integer, ?>> getMapperData(TestData.OfRef<Integer> data) { 128 public void testOps(String name, TestData.OfRef<Integer> data) {
|
SequentialOpTest.java | 53 public void testLazy(String name, TestData.OfRef<Integer> data) { 99 public void testMixedSeqPar(String name, TestData.OfRef<Integer> data) {
|
InfiniteStreamWithLimitOpTest.java | 136 private TestData.OfRef<Long> refLongs() { 140 private TestData.OfRef<Long> refLongRange(long l, long u) { 360 TestData.OfRef<Long> generator = TestData.Factory.ofSupplier( 407 TestData.OfRef<Long> iterator = TestData.Factory.ofSupplier(
|
MinMaxTest.java | 62 public void testOps(String name, TestData.OfRef<Integer> data) {
|
ReduceTest.java | 61 public void testOps(String name, TestData.OfRef<Integer> data) {
|
StreamLinkTest.java | 61 public void testManyStreams(String name, TestData.OfRef<Integer> data) {
|
TeeOpTest.java | 89 public void testOps(String name, final TestData.OfRef<Integer> data) {
|
FindAnyOpTest.java | 67 public void testStream(String name, TestData.OfRef<Integer> data) { 74 void exerciseStream(TestData.OfRef<Integer> data, Function<Stream<Integer>, Stream<Integer>> fs) {
|
ForEachOpTest.java | 89 TestData.OfRef<Integer> data = TestData.Factory.ofCollection("[1, 10000]", input); 111 public void testForEach(String name, TestData.OfRef<Integer> data) {
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
TestData.java | 68 public interface OfRef<T> extends TestData<T, Stream<T>> { } 78 public static <T> OfRef<T> ofArray(String name, T[] array) { 83 public static <T> OfRef<T> ofCollection(String name, Collection<T> collection) { 88 public static <T> OfRef<T> ofSpinedBuffer(String name, SpinedBuffer<T> buffer) { 96 public static <T> OfRef<T> ofSupplier(String name, Supplier<Stream<T>> supplier) { 104 public static <T> OfRef<T> ofRefNode(String name, Node<T> node) { 267 implements TestData.OfRef<T> {
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
TestData.java | 69 public interface OfRef<T> extends TestData<T, Stream<T>> { } 79 public static <T> OfRef<T> ofArray(String name, T[] array) { 84 public static <T> OfRef<T> ofCollection(String name, Collection<T> collection) { 89 public static <T> OfRef<T> ofSpinedBuffer(String name, SpinedBuffer<T> buffer) { 97 public static <T> OfRef<T> ofSupplier(String name, Supplier<Stream<T>> supplier) { 105 public static <T> OfRef<T> ofRefNode(String name, Node<T> node) { 268 implements TestData.OfRef<T> {
|
/libcore/ojluni/src/main/java/java/util/stream/ |
Nodes.java | 67 private static final Node EMPTY_NODE = new EmptyNode.OfRef(); 325 new SizedCollectorTask.OfRef<>(spliterator, helper, array).invoke(); 328 Node<P_OUT> node = new CollectorTask.OfRef<>(helper, generator, spliterator).invoke(); 470 new ToArrayTask.OfRef<>(node, array, 0).invoke(); 574 private static class OfRef<T> extends EmptyNode<T, T[], Consumer<? super T>> { 575 private OfRef() { 788 return new Nodes.InternalNodeSpliterator.OfRef<>(this); [all...] |
StreamSpliterators.java | 689 static final class OfRef<T> 693 OfRef(Spliterator<T> s, long sliceOrigin, long sliceFence) { 697 private OfRef(Spliterator<T> s, 706 return new OfRef<>(s, sliceOrigin, sliceFence, origin, fence); [all...] |
ForEachOps.java | 73 return new ForEachOp.OfRef<>(action, ordered); 174 static final class OfRef<T> extends ForEachOp<T> { 177 OfRef(Consumer<? super T> consumer, boolean ordered) {
|
FindOps.java | 59 Optional::isPresent, FindSink.OfRef::new); 190 static final class OfRef<T> extends FindSink<T, Optional<T>> {
|
Stream.java | [all...] |
SortedOps.java | 51 return new OfRef<>(upstream); 63 return new OfRef<>(upstream, comparator); 99 private static final class OfRef<T> extends ReferencePipeline.StatefulOp<T, T> { 110 OfRef(AbstractPipeline<?, T, ?> upstream) { 125 OfRef(AbstractPipeline<?, T, ?> upstream, Comparator<? super T> comparator) {
|
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/ |
SliceSpliteratorTest.java | 79 return new StreamSpliterators.SliceSpliterator.OfRef<>(s, skip, limit); 82 data.add(new Object[]{"StreamSpliterators.SliceSpliterator.OfRef", r}); 135 return new StreamSpliterators.UnorderedSliceSpliterator.OfRef<>(s, skip, limit); 138 data.add(new Object[]{"StreamSpliterators.UnorderedSliceSpliterator.OfRef", r});
|