HomeSort by relevance Sort by last modified time
    Searched refs:OfLong (Results 26 - 50 of 65) sorted by null

12 3

  /libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
InfiniteStreamWithLimitOpTest.java 156 private TestData.OfLong longs() {
160 private TestData.OfLong longRange(long l, long u) {
275 private Spliterator.OfLong proxyNotSubsized(Spliterator.OfLong s) {
295 return (Spliterator.OfLong) Proxy.newProxyInstance(this.getClass().getClassLoader(),
296 new Class[]{Spliterator.OfLong.class},
300 private TestData.OfLong proxiedLongRange(long l, long u) {
382 TestData.OfLong generator = TestData.Factory.ofLongSupplier(
433 TestData.OfLong iterator = TestData.Factory.ofLongSupplier(
PrimitiveSumTest.java 54 public void testOps(String name, TestData.OfLong data) {
FindFirstOpTest.java 100 public void testLongStream(String name, TestData.OfLong data) {
107 void exerciseLongStream(TestData.OfLong data, Function<LongStream, LongStream> fs) {
110 PrimitiveIterator.OfLong i = fs.apply(data.stream()).iterator();
ToArrayOpTest.java 287 public void testLongOps(String name, TestData.OfLong data) {
292 public void testLongOpsWithMap(String name, TestData.OfLong data) {
301 public void testLongOpsWithSorted(String name, TestData.OfLong data) {
310 public void testLongOpsWithFlatMap(String name, TestData.OfLong data) {
321 public void testLongOpsWithFilter(String name, TestData.OfLong data) {
337 public void testLongDistinctAndSortedPermutations(String name, TestData.OfLong data) {
351 public void testLongStatefulOpPermutations(String name, TestData.OfLong data) {
FindAnyOpTest.java 115 public void testLongStream(String name, TestData.OfLong data) {
122 void exerciseLongStream(TestData.OfLong data, Function<LongStream, LongStream> fs) {
126 PrimitiveIterator.OfLong it = fs.apply(data.stream()).iterator();
CountTest.java 73 public void testOps(String name, TestData.OfLong data) {
MinMaxTest.java 88 public void testLongOps(String name, TestData.OfLong data) {
StreamLinkTest.java 87 public void testLongManyStreams(String name, TestData.OfLong data) {
TeeOpTest.java 121 public void testLongOps(String name, final TestData.OfLong data) {
ForEachOpTest.java 184 TestData.OfLong data = TestData.Factory.ofLongSupplier("[1, 10000]",
207 public void testLongOps(String name, TestData.OfLong data) {
MatchOpTest.java 291 public void testLongStream(String name, TestData.OfLong data) {
304 class CycleIterator implements PrimitiveIterator.OfLong {
305 final Supplier<PrimitiveIterator.OfLong> source;
306 PrimitiveIterator.OfLong i = null;
308 CycleIterator(Supplier<PrimitiveIterator.OfLong> source) {
329 Supplier<PrimitiveIterator.OfLong> source = () -> Arrays.stream(new long[]{1, 2, 3, 4}).iterator();
SortedOpTest.java 298 public void testLongOps(String name, TestData.OfLong data) {
305 public void testLongSortSort(String name, TestData.OfLong data) {
308 .stream(s -> s.sorted().sorted(), new CollectorOps.TestParallelSizedOp.OfLong())
StreamBuilderTest.java 201 TestData.OfLong data = TestData.Factory.ofLongSupplier("[0, 1)",
245 TestData.OfLong data = TestData.Factory.ofLongSupplier(String.format("[0, %d)", size),
  /libcore/ojluni/src/main/java/java/util/stream/
SortedOps.java 83 return new OfLong(upstream);
206 private static final class OfLong extends LongPipeline.StatefulOp<Long> {
207 OfLong(AbstractPipeline<?, Long, ?> upstream) {
232 Node.OfLong n = (Node.OfLong) helper.evaluate(spliterator, true, generator);
567 private SpinedBuffer.OfLong b;
577 b = (size > 0) ? new SpinedBuffer.OfLong((int) size) : new SpinedBuffer.OfLong();
ForEachOps.java 103 return new ForEachOp.OfLong(action, ordered);
210 static final class OfLong extends ForEachOp<Long>
211 implements Sink.OfLong {
214 OfLong(LongConsumer consumer, boolean ordered) {
FindOps.java 83 OptionalLong::isPresent, FindSink.OfLong::new);
213 static final class OfLong extends FindSink<Long, OptionalLong>
214 implements Sink.OfLong {
SpinedBuffer.java 840 public static class OfLong extends SpinedBuffer.OfPrimitive<Long, long[], LongConsumer>
842 public OfLong() { }
844 public OfLong(int initialCapacity) {
    [all...]
ReduceOps.java 384 implements AccumulatingSink<Long, Long, ReducingSink>, Sink.OfLong {
426 implements AccumulatingSink<Long, OptionalLong, ReducingSink>, Sink.OfLong {
484 implements AccumulatingSink<Long, R, ReducingSink>, Sink.OfLong {
  /libcore/ojluni/src/main/java/java/util/
PrimitiveIterator.java 34 * subtypes are provided for {@link OfInt int}, {@link OfLong long}, and
160 public static interface OfLong extends PrimitiveIterator<Long, LongConsumer> {
201 Tripwire.trip(getClass(), "{0} calling PrimitiveIterator.OfLong.nextLong()");
223 Tripwire.trip(getClass(), "{0} calling PrimitiveIterator.OfLong.forEachRemainingLong(action::accept)");
  /libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
LongStreamTestScenario.java 70 for (PrimitiveIterator.OfLong seqIter = m.apply(data.stream()).iterator(); seqIter.hasNext(); )
79 for (Spliterator.OfLong spl = m.apply(data.stream()).spliterator(); spl.tryAdvance(b); ) {
120 for (Spliterator.OfLong spl = m.apply(data.parallelStream()).spliterator(); spl.tryAdvance(b); ) {
146 Spliterator.OfLong sp = s.spliterator();
SpliteratorTestHelper.java 95 public static void testLongSpliterator(Supplier<Spliterator.OfLong> supplier) {
99 public static void testLongSpliterator(Supplier<Spliterator.OfLong> supplier,
181 else if (sp instanceof Spliterator.OfLong) {
182 Spliterator.OfLong psp = (Spliterator.OfLong) sp;
680 static void mixedTraverseAndSplit(LongConsumer b, Spliterator.OfLong splTop) {
681 Spliterator.OfLong spl1, spl2, spl3;
  /libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
LongStreamTestScenario.java 73 for (PrimitiveIterator.OfLong seqIter = m.apply(data.stream()).iterator(); seqIter.hasNext(); )
82 for (Spliterator.OfLong spl = m.apply(data.stream()).spliterator(); spl.tryAdvance(b); ) {
123 for (Spliterator.OfLong spl = m.apply(data.parallelStream()).spliterator(); spl.tryAdvance(b); ) {
149 Spliterator.OfLong sp = s.spliterator();
SpliteratorTestHelper.java 95 public static void testLongSpliterator(Supplier<Spliterator.OfLong> supplier) {
99 public static void testLongSpliterator(Supplier<Spliterator.OfLong> supplier,
181 else if (sp instanceof Spliterator.OfLong) {
182 Spliterator.OfLong psp = (Spliterator.OfLong) sp;
680 static void mixedTraverseAndSplit(LongConsumer b, Spliterator.OfLong splTop) {
681 Spliterator.OfLong spl1, spl2, spl3;
  /libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
StreamReuseTest.java 265 public void testTwoStreams(String name, TestData.OfLong data) {
285 public void testTwoTerminals(String name, TestData.OfLong data) {
293 public void testTerminalStream(String name, TestData.OfLong data) {
313 public void testTwoIterators(String name, TestData.OfLong data) {
321 public void testTerminalIterator(String name, TestData.OfLong data) {
333 public void testStreamIterator(String name, TestData.OfLong data) {
NodeBuilderTest.java 137 // Node.Builder.OfLong
167 public void testLongIteration(List<Long> l, Function<Integer, Node.Builder.OfLong> m) {
168 Node.Builder.OfLong nb = m.apply(l.size());
175 Node.OfLong n = nb.build();

Completed in 292 milliseconds

12 3