Lines Matching refs:OfLong

69     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 longBuilder(long exactSizeIfKnown) {
248 * Produces a variable size @{link Node.Builder.OfLong}.
250 * @return a {@code Node.Builder.OfLong}
252 static Node.Builder.OfLong longBuilder() {
373 * describe those elements with a {@link Node.OfLong}.
384 * parallel to produce a flat {@code Node.OfLong} if desired.
390 * @return a {@link Node.OfLong} describing the output elements
392 public static <P_IN> Node.OfLong collectLong(PipelineHelper<Long> helper,
400 new SizedCollectorTask.OfLong<>(spliterator, helper, array).invoke();
404 Node.OfLong node = new CollectorTask.OfLong<>(helper, spliterator).invoke();
504 * Flatten, in parallel, a {@link Node.OfLong}. A flattened node is one that
514 * @return a flat {@code Node.OfLong}
516 public static Node.OfLong flattenLong(Node.OfLong node) {
522 new ToArrayTask.OfLong(node, array, 0).invoke();
602 private static final class OfLong
604 implements Node.OfLong {
606 OfLong() { } // Avoid creation of special accessor
609 public Spliterator.OfLong spliterator() {
897 static final class OfLong
898 extends ConcNode.OfPrimitive<Long, LongConsumer, long[], Spliterator.OfLong, Node.OfLong>
899 implements Node.OfLong {
901 OfLong(Node.OfLong left, Node.OfLong right) {
906 public Spliterator.OfLong spliterator() {
907 return new InternalNodeSpliterator.OfLong(this);
1172 private static final class OfLong
1173 extends OfPrimitive<Long, LongConsumer, long[], Spliterator.OfLong, Node.OfLong>
1174 implements Spliterator.OfLong {
1176 OfLong(Node.OfLong cur) {
1368 private static class LongArrayNode implements Node.OfLong {
1385 public Spliterator.OfLong spliterator() {
1532 implements Node.Builder.OfLong {
1540 public Node.OfLong build() {
1699 extends SpinedBuffer.OfLong
1700 implements Node.OfLong, Node.Builder.OfLong {
1706 public Spliterator.OfLong spliterator() {
1752 public Node.OfLong build() {
1960 static final class OfLong<P_IN>
1961 extends SizedCollectorTask<P_IN, Long, Sink.OfLong, OfLong<P_IN>>
1962 implements Sink.OfLong {
1965 OfLong(Spliterator<P_IN> spliterator, PipelineHelper<Long> helper, long[] array) {
1970 OfLong(SizedCollectorTask.OfLong<P_IN> parent, Spliterator<P_IN> spliterator,
1977 SizedCollectorTask.OfLong<P_IN> makeChild(Spliterator<P_IN> spliterator,
1979 return new SizedCollectorTask.OfLong<>(this, spliterator, offset, size);
2133 private static final class OfLong
2134 extends OfPrimitive<Long, LongConsumer, long[], Spliterator.OfLong, Node.OfLong> {
2135 private OfLong(Node.OfLong node, long[] array, int offset) {
2212 private static final class OfLong<P_IN>
2213 extends CollectorTask<P_IN, Long, Node.OfLong, Node.Builder.OfLong> {
2214 OfLong(PipelineHelper<Long> helper, Spliterator<P_IN> spliterator) {
2215 super(helper, spliterator, Nodes::longBuilder, ConcNode.OfLong::new);