Searched defs:OfLong (Results 1 - 17 of 17) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
H A DPrimitiveIterator.java34 * subtypes are provided for {@link OfInt int}, {@link OfLong long}, and
160 public static interface OfLong extends PrimitiveIterator<Long, LongConsumer> { interface in interface:PrimitiveIterator
201 Tripwire.trip(getClass(), "{0} calling PrimitiveIterator.OfLong.nextLong()");
223 Tripwire.trip(getClass(), "{0} calling PrimitiveIterator.OfLong.forEachRemainingLong(action::accept)");
H A DSpliterator.java108 * {@link OfInt int}, {@link OfLong long}, and {@link OfDouble double} values.
595 * @see Spliterator.OfLong
708 public interface OfLong extends OfPrimitive<Long, LongConsumer, OfLong> { interface in interface:Spliterator
711 OfLong trySplit();
739 "{0} calling Spliterator.OfLong.tryAdvance((LongConsumer) action::accept)");
762 "{0} calling Spliterator.OfLong.forEachRemaining((LongConsumer) action::accept)");
H A DSpliterators.java35 * {@link Spliterator.OfInt}, {@link Spliterator.OfLong}, and
83 * Creates an empty {@code Spliterator.OfLong}
91 public static Spliterator.OfLong emptyLongSpliterator() {
95 private static final Spliterator.OfLong EMPTY_LONG_SPLITERATOR =
96 new EmptySpliterator.OfLong();
244 * Creates a {@code Spliterator.OfLong} covering the elements of a given array,
266 public static Spliterator.OfLong spliterator(long[] array,
272 * Creates a {@code Spliterator.OfLong} covering a range of elements of a
303 public static Spliterator.OfLong spliterator(long[] array, int fromIndex, int toIndex,
539 * Creates a {@code Spliterator.OfLong} usin
873 private static final class OfLong class in class:Spliterators.EmptySpliterator
876 OfLong() { } method in class:Spliterators.EmptySpliterator.OfLong
[all...]
/libcore/ojluni/src/main/java/java/util/stream/
H A DSink.java207 interface OfLong extends Sink<Long>, LongConsumer { interface in interface:Sink
214 Tripwire.trip(getClass(), "{0} calling Sink.OfLong.accept(Long)");
305 * {@code Sink} of unknown input shape and produces a {@code Sink.OfLong}.
309 static abstract class ChainedLong<E_OUT> implements Sink.OfLong {
H A DFindOps.java83 OptionalLong::isPresent, FindSink.OfLong::new);
213 static final class OfLong extends FindSink<Long, OptionalLong> class in class:FindOps.FindSink
214 implements Sink.OfLong {
H A DForEachOps.java103 return new ForEachOp.OfLong(action, ordered);
210 static final class OfLong extends ForEachOp<Long> class in class:ForEachOps.ForEachOp
211 implements Sink.OfLong {
214 OfLong(LongConsumer consumer, boolean ordered) { method in class:ForEachOps.ForEachOp.OfLong
H A DNode.java210 interface OfLong extends Node.Builder<Long>, Sink.OfLong { interface in interface:Node.Builder
212 Node.OfLong build();
387 interface OfLong extends OfPrimitive<Long, LongConsumer, long[], Spliterator.OfLong, OfLong> { interface in interface:Node
404 Tripwire.trip(getClass(), "{0} calling Node.OfLong.forEachRemaining(Consumer)");
429 default Node.OfLong truncate(long from, long to, IntFunction<Long[]> generator) {
433 Spliterator.OfLong spliterator = spliterator();
434 Node.Builder.OfLong nodeBuilde
[all...]
H A DSortedOps.java83 return new OfLong(upstream);
206 private static final class OfLong extends LongPipeline.StatefulOp<Long> { class in class:SortedOps
207 OfLong(AbstractPipeline<?, Long, ?> upstream) { method in class:SortedOps.OfLong
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();
H A DSpinedBuffer.java840 public static class OfLong extends SpinedBuffer.OfPrimitive<Long, long[], LongConsumer> class in class:SpinedBuffer
842 public OfLong() { } method in class:SpinedBuffer.OfLong
844 public OfLong(int initialCapacity) { method in class:SpinedBuffer.OfLong
855 Tripwire.trip(getClass(), "{0} calling SpinedBuffer.OfLong.forEach(Consumer)");
900 public PrimitiveIterator.OfLong iterator() {
905 public Spliterator.OfLong spliterator() {
906 class Splitr extends BaseSpliterator<Spliterator.OfLong>
907 implements Spliterator.OfLong {
927 Spliterator.OfLong arraySpliterator(long[] array, int offset, int len) {
H A DStreams.java185 static final class RangeLongSpliterator implements Spliterator.OfLong {
261 public Spliterator.OfLong trySplit() {
517 extends AbstractStreamBuilderImpl<Long, Spliterator.OfLong>
518 implements LongStream.Builder, Spliterator.OfLong {
525 SpinedBuffer.OfLong buffer;
552 buffer = new SpinedBuffer.OfLong();
823 static class OfLong class in class:Streams.ConcatSpliterator
824 extends ConcatSpliterator.OfPrimitive<Long, LongConsumer, Spliterator.OfLong>
825 implements Spliterator.OfLong {
826 OfLong(Spliterato method in class:Streams.ConcatSpliterator.OfLong
[all...]
H A DStreamSpliterators.java380 extends AbstractWrappingSpliterator<P_IN, Long, SpinedBuffer.OfLong>
381 implements Spliterator.OfLong {
402 SpinedBuffer.OfLong b = new SpinedBuffer.OfLong();
404 bufferSink = ph.wrapSink((Sink.OfLong) b::accept);
409 public Spliterator.OfLong trySplit() {
410 return (Spliterator.OfLong) super.trySplit();
428 ph.wrapAndCopyInto((Sink.OfLong) consumer::accept, spliterator);
586 static final class OfLong class in class:StreamSpliterators.DelegatingSpliterator
587 extends OfPrimitive<Long, LongConsumer, Spliterator.OfLong>
590 OfLong(Supplier<Spliterator.OfLong> supplier) { method in class:StreamSpliterators.DelegatingSpliterator.OfLong
844 static final class OfLong extends OfPrimitive<Long, Spliterator.OfLong, LongConsumer> class in class:StreamSpliterators.SliceSpliterator
846 OfLong(Spliterator.OfLong s, long sliceOrigin, long sliceFence) { method in class:StreamSpliterators.SliceSpliterator.OfLong
850 OfLong(Spliterator.OfLong s, method in class:StreamSpliterators.SliceSpliterator.OfLong
1164 static final class OfLong class in class:StreamSpliterators.UnorderedSliceSpliterator
1170 OfLong(Spliterator.OfLong s, long skip, long limit) { method in class:StreamSpliterators.UnorderedSliceSpliterator.OfLong
1174 OfLong(Spliterator.OfLong s, UnorderedSliceSpliterator.OfLong parent) { method in class:StreamSpliterators.UnorderedSliceSpliterator.OfLong
1393 static final class OfLong extends InfiniteSupplyingSpliterator<Long> class in class:StreamSpliterators.InfiniteSupplyingSpliterator
1397 OfLong(long size, LongSupplier s) { method in class:StreamSpliterators.InfiniteSupplyingSpliterator.OfLong
1505 static final class OfLong extends OfPrimitive<LongConsumer> class in class:StreamSpliterators.ArrayBuffer
1509 OfLong(int size) { method in class:StreamSpliterators.ArrayBuffer.OfLong
[all...]
H A DNodes.java69 private static final Node.OfLong EMPTY_LONG_NODE = new EmptyNode.OfLong();
120 return (Node<T>) new ConcNode.OfLong((Node.OfLong) left, (Node.OfLong) right);
222 * Produces a {@link Node.OfLong} describing a long[] array.
229 static Node.OfLong node(final long[] array) {
234 * Produces a {@link Node.Builder.OfLong}.
239 * @return a {@code Node.Builder.OfLong}
241 static Node.Builder.OfLong longBuilde
602 private static final class OfLong class in class:Nodes.EmptyNode
606 OfLong() { } // Avoid creation of special accessor method in class:Nodes.EmptyNode.OfLong
897 static final class OfLong class in class:Nodes.ConcNode
901 OfLong(Node.OfLong left, Node.OfLong right) { method in class:Nodes.ConcNode.OfLong
1172 private static final class OfLong class in class:Nodes.InternalNodeSpliterator
1176 OfLong(Node.OfLong cur) { method in class:Nodes.InternalNodeSpliterator.OfLong
1960 static final class OfLong<P_IN> class in class:Nodes.SizedCollectorTask
1965 OfLong(Spliterator<P_IN> spliterator, PipelineHelper<Long> helper, long[] array) { method in class:Nodes.SizedCollectorTask.OfLong
1970 OfLong(SizedCollectorTask.OfLong<P_IN> parent, Spliterator<P_IN> spliterator, method in class:Nodes.SizedCollectorTask.OfLong
2133 private static final class OfLong class in class:Nodes.ToArrayTask
2135 private OfLong(Node.OfLong node, long[] array, int offset) { method in class:Nodes.ToArrayTask.OfLong
2212 private static final class OfLong<P_IN> class in class:Nodes.CollectorTask
2214 OfLong(PipelineHelper<Long> helper, Spliterator<P_IN> spliterator) { method in class:Nodes.CollectorTask.OfLong
[all...]
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
H A DCollectorOps.java101 public static class OfLong extends TestParallelSizedOp<Long> { class in class:CollectorOps.TestParallelSizedOp
102 public OfLong() { method in class:CollectorOps.TestParallelSizedOp.OfLong
H A DTestData.java72 public interface OfLong extends TestData<Long, LongStream> { } interface in interface:TestData
144 public static <T> OfLong ofArray(String name, long[] array) {
149 public static OfLong ofSpinedBuffer(String name, SpinedBuffer.OfLong buffer) {
153 SpinedBuffer.OfLong::spliterator,
157 public static OfLong ofLongSupplier(String name, Supplier<LongStream> supplier) {
165 public static OfLong ofNode(String name, Node.OfLong node) {
170 Node.OfLong::spliterator,
306 extends AbstractTestData<Long, LongStream, I, Spliterator.OfLong>
[all...]
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
H A DCollectorOps.java102 public static class OfLong extends TestParallelSizedOp<Long> { class in class:CollectorOps.TestParallelSizedOp
103 public OfLong() { method in class:CollectorOps.TestParallelSizedOp.OfLong
H A DTestData.java73 public interface OfLong extends TestData<Long, LongStream> { } interface in interface:TestData
145 public static <T> OfLong ofArray(String name, long[] array) {
150 public static OfLong ofSpinedBuffer(String name, SpinedBuffer.OfLong buffer) {
154 SpinedBuffer.OfLong::spliterator,
158 public static OfLong ofLongSupplier(String name, Supplier<LongStream> supplier) {
166 public static OfLong ofNode(String name, Node.OfLong node) {
171 Node.OfLong::spliterator,
307 extends AbstractTestData<Long, LongStream, I, Spliterator.OfLong>
[all...]
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
H A DStreamSpliteratorTest.java159 private static class OfLong extends ProxyNoExactSizeSpliterator<Long> implements Spliterator.OfLong { class in class:StreamSpliteratorTest.ProxyNoExactSizeSpliterator
160 final Spliterator.OfLong psp;
162 private OfLong(Spliterator.OfLong sp, boolean proxyEstimateSize) { method in class:StreamSpliteratorTest.ProxyNoExactSizeSpliterator.OfLong
168 public Spliterator.OfLong trySplit() {
170 Spliterator.OfLong prefix = psp.trySplit();
178 return Spliterator.OfLong.super.tryAdvance(consumer);
183 Spliterator.OfLong.super.forEachRemaining(consumer);
457 Spliterator.OfLong s
[all...]

Completed in 323 milliseconds