APIdia Launch Partner
Top Description Inners Methods
java.util.stream

pack-priv Interface Node<T>

Known Direct Subinterfaces
java.util.stream.Node.OfPrimitive
Known Direct Implementers
java.util.stream.Nodes.EmptyNode, java.util.stream.Nodes.ArrayNode, java.util.stream.Nodes.CollectionNode, java.util.stream.Nodes.AbstractConcNode, java.util.stream.Nodes.ConcNode, java.util.stream.Nodes.SpinedNodeBuilder, java.util.stream.GathererOp.NodeBuilder.Builder
Type Parameters
<T>
the type of elements.
Imports
java.util.Spliterator, java.util.function.Consumer, .DoubleConsumer, .IntConsumer, .IntFunction, .LongConsumer

An immutable container for describing an ordered sequence of elements of some type T.

A Node contains a fixed number of elements, which can be accessed via the count, spliterator, forEach, asArray, or copyInto methods. A Node may have zero or more child Nodes; if it has no children (accessed via getChildCount and getChild(int), it is considered flat or a leaf; if it has children, it is considered an internal node. The size of an internal node is the sum of sizes of its children.

API Note

A Node typically does not store the elements directly, but instead mediates access to one or more existing (effectively immutable) data structures such as a Collection, array, or a set of other Nodes. Commonly Nodes are formed into a tree whose shape corresponds to the computation tree that produced the elements that are contained in the leaf nodes. The use of Node within the stream framework is largely to avoid copying data unnecessarily during parallel operations.

Since
1.8

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface
Node.Builder<T>

A mutable builder for a Node that implements Sink, which builds a flat node containing the elements that have been pushed to it.

public static interface
Node.OfDouble

Specialized Node for double elements

public static interface
Node.OfInt

Specialized Node for int elements

public static interface
Node.OfLong

Specialized Node for long elements

public static interface
Node.OfPrimitive<T, T_CONS, T_ARR, T_SPLITR extends Spliterator.OfPrimitive<T, T_CONS, T_SPLITR>, T_NODE extends Node.OfPrimitive<T, T_CONS, T_ARR, T_SPLITR, T_NODE>>

Method Summary

Modifier and TypeMethod and Description
public T[]

Returns:

an array containing the contents of this Node
asArray
(IntFunction<T[]>
a factory function which takes an integer parameter and returns a new, empty array of that size and of the appropriate array type
generator
)

Provides an array view of the contents of this node.

public void
copyInto(T[]
the array into which to copy the contents of this Node
array
,
int
the starting offset within the array
offset
)

Copies the content of this Node into an array, starting at a given offset into the array.

public long

Returns:

the number of elements contained in this node
count
()

Returns the number of elements contained in this node.

public void
forEach(Consumer<? super T>
a Consumer that is to be invoked with each element in this Node
consumer
)

Traverses the elements of this node, and invoke the provided Consumer with each element.

public default Node<T>

Returns:

the child node
getChild
(int
the index to the child node
i
)

Retrieves the child Node at a given index.

public default int

Returns:

the number of child nodes
getChildCount
()

Returns the number of child nodes of this node.

public default StreamShape

Returns:

the stream shape associated with this node
getShape
()

Gets the StreamShape associated with this Node.

public Spliterator<T>

Returns:

a Spliterator describing the elements contained in this Node
spliterator
()

Returns a Spliterator describing the elements contained in this Node.

public default Node<T>

Returns:

the truncated node
truncate
(long
The (inclusive) starting offset of elements to include, must be in range 0..count().
from
,
long
The (exclusive) end offset of elements to include, must be in range 0..count().
to
,
IntFunction<T[]>
A function to be used to create a new array, if needed, for reference nodes.
generator
)

Return a node describing a subsequence of the elements of this node, starting at the given inclusive start offset and ending at the given exclusive end offset.

Method Detail

asArrayback to summary
public T[] asArray(IntFunction<T[]> generator)

Provides an array view of the contents of this node.

Depending on the underlying implementation, this may return a reference to an internal array rather than a copy. Since the returned array may be shared, the returned array should not be modified. The generator function may be consulted to create the array if a new array needs to be created.

Parameters
generator:IntFunction<T[]>

a factory function which takes an integer parameter and returns a new, empty array of that size and of the appropriate array type

Returns:T[]

an array containing the contents of this Node

copyIntoback to summary
public void copyInto(T[] array, int offset)

Copies the content of this Node into an array, starting at a given offset into the array. It is the caller's responsibility to ensure there is sufficient room in the array, otherwise unspecified behaviour will occur if the array length is less than the number of elements contained in this node.

Parameters
array:T[]

the array into which to copy the contents of this Node

offset:int

the starting offset within the array

Exceptions
IndexOutOfBoundsException:
if copying would cause access of data outside array bounds
NullPointerException:
if array is null
countback to summary
public long count()

Returns the number of elements contained in this node.

Returns:long

the number of elements contained in this node

forEachback to summary
public void forEach(Consumer<? super T> consumer)

Traverses the elements of this node, and invoke the provided Consumer with each element. Elements are provided in encounter order if the source for the Node has a defined encounter order.

Parameters
consumer:Consumer<? super T>

a Consumer that is to be invoked with each element in this Node

getChildback to summary
public default Node<T> getChild(int i)

Retrieves the child Node at a given index.

Implementation Specification

The default implementation always throws IndexOutOfBoundsException.

Parameters
i:int

the index to the child node

Returns:Node<T>

the child node

Exceptions
IndexOutOfBoundsException:
if the index is less than 0 or greater than or equal to the number of child nodes
getChildCountback to summary
public default int getChildCount()

Returns the number of child nodes of this node.

Implementation Specification

The default implementation returns zero.

Returns:int

the number of child nodes

getShapeback to summary
public default StreamShape getShape()

Gets the StreamShape associated with this Node.

Implementation Specification

The default in Node returns StreamShape.REFERENCE

Returns:StreamShape

the stream shape associated with this node

spliteratorback to summary
public Spliterator<T> spliterator()

Returns a Spliterator describing the elements contained in this Node.

Returns:Spliterator<T>

a Spliterator describing the elements contained in this Node

truncateback to summary
public default Node<T> truncate(long from, long to, IntFunction<T[]> generator)

Return a node describing a subsequence of the elements of this node, starting at the given inclusive start offset and ending at the given exclusive end offset.

Parameters
from:long

The (inclusive) starting offset of elements to include, must be in range 0..count().

to:long

The (exclusive) end offset of elements to include, must be in range 0..count().

generator:IntFunction<T[]>

A function to be used to create a new array, if needed, for reference nodes.

Returns:Node<T>

the truncated node

java.util.stream back to summary

public Interface Node.Builder<T>

extends Sink<T>
Known Direct Subinterfaces
java.util.stream.Node.Builder.OfInt, java.util.stream.Node.Builder.OfLong, java.util.stream.Node.Builder.OfDouble
Known Direct Implementers
java.util.stream.Nodes.FixedNodeBuilder, java.util.stream.Nodes.SpinedNodeBuilder

A mutable builder for a Node that implements Sink, which builds a flat node containing the elements that have been pushed to it.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface
Node.Builder.OfDouble

Specialized Node.Builder for double elements

public static interface
Node.Builder.OfInt

Specialized Node.Builder for int elements

public static interface
Node.Builder.OfLong

Specialized Node.Builder for long elements

Method Summary

Modifier and TypeMethod and Description
public Node<T>

Returns:

the resulting Node
build
()

Builds the node.

Inherited from java.util.stream.Sink:
acceptacceptacceptbegincancellationRequestedend

Method Detail

buildback to summary
public Node<T> build()

Builds the node. Should be called after all elements have been pushed and signalled with an invocation of Sink#end().

Returns:Node<T>

the resulting Node

java.util.stream back to summary

public Interface Node.Builder.OfDouble

extends Node.Builder<Double>, OfDouble
Known Direct Implementers
java.util.stream.Nodes.DoubleFixedNodeBuilder, java.util.stream.Nodes.DoubleSpinedNodeBuilder

Specialized Node.Builder for double elements

Method Summary

Modifier and TypeMethod and Description
public Node.OfDouble
build()

Redeclares java.util.stream.Node.Builder.build.

Builds the node.

Inherited from java.util.stream.Sink.OfDouble:
acceptaccept

Method Detail

buildback to summary
public Node.OfDouble build()

Redeclares java.util.stream.Node.Builder.build.

Doc from java.util.stream.Node.Builder.build.

Builds the node. Should be called after all elements have been pushed and signalled with an invocation of Sink#end().

Annotations
@Override
java.util.stream back to summary

public Interface Node.Builder.OfInt

extends Node.Builder<Integer>, OfInt
Known Direct Implementers
java.util.stream.Nodes.IntFixedNodeBuilder, java.util.stream.Nodes.IntSpinedNodeBuilder

Specialized Node.Builder for int elements

Method Summary

Modifier and TypeMethod and Description
public Node.OfInt
build()

Redeclares java.util.stream.Node.Builder.build.

Builds the node.

Inherited from java.util.stream.Sink.OfInt:
acceptaccept

Method Detail

buildback to summary
public Node.OfInt build()

Redeclares java.util.stream.Node.Builder.build.

Doc from java.util.stream.Node.Builder.build.

Builds the node. Should be called after all elements have been pushed and signalled with an invocation of Sink#end().

Annotations
@Override
java.util.stream back to summary

public Interface Node.Builder.OfLong

extends Node.Builder<Long>, OfLong
Known Direct Implementers
java.util.stream.Nodes.LongFixedNodeBuilder, java.util.stream.Nodes.LongSpinedNodeBuilder

Specialized Node.Builder for long elements

Method Summary

Modifier and TypeMethod and Description
public Node.OfLong
build()

Redeclares java.util.stream.Node.Builder.build.

Builds the node.

Inherited from java.util.stream.Sink.OfLong:
acceptaccept

Method Detail

buildback to summary
public Node.OfLong build()

Redeclares java.util.stream.Node.Builder.build.

Doc from java.util.stream.Node.Builder.build.

Builds the node. Should be called after all elements have been pushed and signalled with an invocation of Sink#end().

Annotations
@Override
java.util.stream back to summary

public Interface Node.OfDouble

extends Node.OfPrimitive<Double, DoubleConsumer, double[], Spliterator.OfDouble, Node.OfDouble>
Known Direct Implementers
java.util.stream.Nodes.EmptyNode.OfDouble, java.util.stream.Nodes.ConcNode.OfDouble, java.util.stream.Nodes.DoubleArrayNode, java.util.stream.Nodes.DoubleSpinedNodeBuilder
Annotations
@SuppressWarnings:overloads

Specialized Node for double elements

Method Summary

Modifier and TypeMethod and Description
public default void
copyInto(Double[] boxed, int offset)

Implements java.util.stream.Node.OfPrimitive.copyInto.

Copies the content of this Node into a primitive array, starting at a given offset into the array.

public default void
forEach(Consumer<? super Double>
A Consumer that is to be invoked with each element in this Node. If this is an DoubleConsumer, it is cast to DoubleConsumer so the elements may be processed without boxing.
consumer
)

Implements java.util.stream.Node.OfPrimitive.forEach.

Traverses the elements of this node, and invoke the provided action with each element.

public default StreamShape
getShape()

Overrides default java.util.stream.Node.getShape.

Gets the StreamShape associated with this Node.

public default double[]
newArray(int count)

Implements java.util.stream.Node.OfPrimitive.newArray.

Creates a new primitive array.

public default Node.OfDouble
truncate(long from, long to, IntFunction<Double[]> generator)

Implements java.util.stream.Node.OfPrimitive.truncate.

Return a node describing a subsequence of the elements of this node, starting at the given inclusive start offset and ending at the given exclusive end offset.

Inherited from java.util.stream.Node.OfPrimitive:
asArrayasPrimitiveArraygetChildspliterator

Method Detail

copyIntoback to summary
public default void copyInto(Double[] boxed, int offset)

Implements java.util.stream.Node.OfPrimitive.copyInto.

Doc from java.util.stream.Node.OfPrimitive.copyInto.

Copies the content of this Node into a primitive array, starting at a given offset into the array. It is the caller's responsibility to ensure there is sufficient room in the array.

Implementation Specification

the default implementation invokes asPrimitiveArray() to obtain a double[] array then and copies the elements from that double[] array into the boxed Double[] array. This is not efficient and it is recommended to invoke copyInto(Object, int).

Annotations
@Override
forEachback to summary
public default void forEach(Consumer<? super Double> consumer)

Implements java.util.stream.Node.OfPrimitive.forEach.

Doc from java.util.stream.Node.OfPrimitive.forEach.

Traverses the elements of this node, and invoke the provided action with each element.

Parameters
consumer:Consumer<? super Double>

A Consumer that is to be invoked with each element in this Node. If this is an DoubleConsumer, it is cast to DoubleConsumer so the elements may be processed without boxing.

Annotations
@Override
getShapeback to summary
public default StreamShape getShape()

Overrides default java.util.stream.Node.getShape.

Doc from java.util.stream.Node.getShape.

Gets the StreamShape associated with this Node.

Implementation Specification

The default in Node.OfDouble returns StreamShape.DOUBLE_VALUE

newArrayback to summary
public default double[] newArray(int count)

Implements java.util.stream.Node.OfPrimitive.newArray.

Doc from java.util.stream.Node.OfPrimitive.newArray.

Creates a new primitive array.

Annotations
@Override
truncateback to summary
public default Node.OfDouble truncate(long from, long to, IntFunction<Double[]> generator)

Implements java.util.stream.Node.OfPrimitive.truncate.

Doc from java.util.stream.Node.truncate.

Return a node describing a subsequence of the elements of this node, starting at the given inclusive start offset and ending at the given exclusive end offset.

Annotations
@Override
java.util.stream back to summary

public Interface Node.OfInt

extends Node.OfPrimitive<Integer, IntConsumer, int[], Spliterator.OfInt, Node.OfInt>
Known Direct Implementers
java.util.stream.Nodes.EmptyNode.OfInt, java.util.stream.Nodes.ConcNode.OfInt, java.util.stream.Nodes.IntArrayNode, java.util.stream.Nodes.IntSpinedNodeBuilder
Annotations
@SuppressWarnings:overloads

Specialized Node for int elements

Method Summary

Modifier and TypeMethod and Description
public default void
copyInto(Integer[] boxed, int offset)

Implements java.util.stream.Node.OfPrimitive.copyInto.

Copies the content of this Node into a primitive array, starting at a given offset into the array.

public default void
forEach(Consumer<? super Integer>
a Consumer that is to be invoked with each element in this Node. If this is an IntConsumer, it is cast to IntConsumer so the elements may be processed without boxing.
consumer
)

Implements java.util.stream.Node.OfPrimitive.forEach.

Traverses the elements of this node, and invoke the provided action with each element.

public default StreamShape
getShape()

Overrides default java.util.stream.Node.getShape.

Gets the StreamShape associated with this Node.

public default int[]
newArray(int count)

Implements java.util.stream.Node.OfPrimitive.newArray.

Creates a new primitive array.

public default Node.OfInt
truncate(long from, long to, IntFunction<Integer[]> generator)

Implements java.util.stream.Node.OfPrimitive.truncate.

Return a node describing a subsequence of the elements of this node, starting at the given inclusive start offset and ending at the given exclusive end offset.

Inherited from java.util.stream.Node.OfPrimitive:
asArrayasPrimitiveArraygetChildspliterator

Method Detail

copyIntoback to summary
public default void copyInto(Integer[] boxed, int offset)

Implements java.util.stream.Node.OfPrimitive.copyInto.

Doc from java.util.stream.Node.OfPrimitive.copyInto.

Copies the content of this Node into a primitive array, starting at a given offset into the array. It is the caller's responsibility to ensure there is sufficient room in the array.

Implementation Specification

the default implementation invokes asPrimitiveArray() to obtain an int[] array then and copies the elements from that int[] array into the boxed Integer[] array. This is not efficient and it is recommended to invoke copyInto(Object, int).

Annotations
@Override
forEachback to summary
public default void forEach(Consumer<? super Integer> consumer)

Implements java.util.stream.Node.OfPrimitive.forEach.

Doc from java.util.stream.Node.OfPrimitive.forEach.

Traverses the elements of this node, and invoke the provided action with each element.

Parameters
consumer:Consumer<? super Integer>

a Consumer that is to be invoked with each element in this Node. If this is an IntConsumer, it is cast to IntConsumer so the elements may be processed without boxing.

Annotations
@Override
getShapeback to summary
public default StreamShape getShape()

Overrides default java.util.stream.Node.getShape.

Doc from java.util.stream.Node.getShape.

Gets the StreamShape associated with this Node.

Implementation Specification

The default in Node.OfInt returns StreamShape.INT_VALUE

newArrayback to summary
public default int[] newArray(int count)

Implements java.util.stream.Node.OfPrimitive.newArray.

Doc from java.util.stream.Node.OfPrimitive.newArray.

Creates a new primitive array.

Annotations
@Override
truncateback to summary
public default Node.OfInt truncate(long from, long to, IntFunction<Integer[]> generator)

Implements java.util.stream.Node.OfPrimitive.truncate.

Doc from java.util.stream.Node.truncate.

Return a node describing a subsequence of the elements of this node, starting at the given inclusive start offset and ending at the given exclusive end offset.

Annotations
@Override
java.util.stream back to summary

public Interface Node.OfLong

extends Node.OfPrimitive<Long, LongConsumer, long[], Spliterator.OfLong, Node.OfLong>
Known Direct Implementers
java.util.stream.Nodes.EmptyNode.OfLong, java.util.stream.Nodes.ConcNode.OfLong, java.util.stream.Nodes.LongArrayNode, java.util.stream.Nodes.LongSpinedNodeBuilder
Annotations
@SuppressWarnings:overloads

Specialized Node for long elements

Method Summary

Modifier and TypeMethod and Description
public default void
copyInto(Long[] boxed, int offset)

Implements java.util.stream.Node.OfPrimitive.copyInto.

Copies the content of this Node into a primitive array, starting at a given offset into the array.

public default void
forEach(Consumer<? super Long>
A Consumer that is to be invoked with each element in this Node. If this is an LongConsumer, it is cast to LongConsumer so the elements may be processed without boxing.
consumer
)

Implements java.util.stream.Node.OfPrimitive.forEach.

Traverses the elements of this node, and invoke the provided action with each element.

public default StreamShape
getShape()

Overrides default java.util.stream.Node.getShape.

Gets the StreamShape associated with this Node.

public default long[]
newArray(int count)

Implements java.util.stream.Node.OfPrimitive.newArray.

Creates a new primitive array.

public default Node.OfLong
truncate(long from, long to, IntFunction<Long[]> generator)

Implements java.util.stream.Node.OfPrimitive.truncate.

Return a node describing a subsequence of the elements of this node, starting at the given inclusive start offset and ending at the given exclusive end offset.

Inherited from java.util.stream.Node.OfPrimitive:
asArrayasPrimitiveArraygetChildspliterator

Method Detail

copyIntoback to summary
public default void copyInto(Long[] boxed, int offset)

Implements java.util.stream.Node.OfPrimitive.copyInto.

Doc from java.util.stream.Node.OfPrimitive.copyInto.

Copies the content of this Node into a primitive array, starting at a given offset into the array. It is the caller's responsibility to ensure there is sufficient room in the array.

Implementation Specification

the default implementation invokes asPrimitiveArray() to obtain a long[] array then and copies the elements from that long[] array into the boxed Long[] array. This is not efficient and it is recommended to invoke copyInto(Object, int).

Annotations
@Override
forEachback to summary
public default void forEach(Consumer<? super Long> consumer)

Implements java.util.stream.Node.OfPrimitive.forEach.

Doc from java.util.stream.Node.OfPrimitive.forEach.

Traverses the elements of this node, and invoke the provided action with each element.

Parameters
consumer:Consumer<? super Long>

A Consumer that is to be invoked with each element in this Node. If this is an LongConsumer, it is cast to LongConsumer so the elements may be processed without boxing.

Annotations
@Override
getShapeback to summary
public default StreamShape getShape()

Overrides default java.util.stream.Node.getShape.

Doc from java.util.stream.Node.getShape.

Gets the StreamShape associated with this Node.

Implementation Specification

The default in Node.OfLong returns StreamShape.LONG_VALUE

newArrayback to summary
public default long[] newArray(int count)

Implements java.util.stream.Node.OfPrimitive.newArray.

Doc from java.util.stream.Node.OfPrimitive.newArray.

Creates a new primitive array.

Annotations
@Override
truncateback to summary
public default Node.OfLong truncate(long from, long to, IntFunction<Long[]> generator)

Implements java.util.stream.Node.OfPrimitive.truncate.

Doc from java.util.stream.Node.truncate.

Return a node describing a subsequence of the elements of this node, starting at the given inclusive start offset and ending at the given exclusive end offset.

Annotations
@Override
java.util.stream back to summary

public Interface Node.OfPrimitive<T, T_CONS, T_ARR, T_SPLITR extends Spliterator.OfPrimitive<T, T_CONS, T_SPLITR>, T_NODE extends Node.OfPrimitive<T, T_CONS, T_ARR, T_SPLITR, T_NODE>>

extends Node<T>
Known Direct Subinterfaces
java.util.stream.Node.OfInt, java.util.stream.Node.OfLong, java.util.stream.Node.OfDouble
Known Direct Implementers
java.util.stream.Nodes.ConcNode.OfPrimitive

Method Summary

Modifier and TypeMethod and Description
public default T[]
asArray(IntFunction<T[]> generator)

Implements java.util.stream.Node.asArray.

Provides an array view of the contents of this node.

public T_ARR

Returns:

an array containing the contents of this Node
asPrimitiveArray
()

Views this node as a primitive array.

public void
copyInto(T_ARR
the array into which to copy the contents of this Node
array
,
int
the starting offset within the array
offset
)

Copies the content of this Node into a primitive array, starting at a given offset into the array.

public void
forEach(T_CONS
a consumer that is to be invoked with each element in this Node.OfPrimitive
action
)

Traverses the elements of this node, and invoke the provided action with each element.

public default T_NODE
getChild(int i)

Overrides default java.util.stream.Node.getChild.

Retrieves the child Node at a given index.

public T_ARR

Returns:

the new primitive array.
newArray
(int
the length of the primitive array.
count
)

Creates a new primitive array.

public T_SPLITR

Returns:

a Spliterator.OfPrimitive describing the elements of this node
spliterator
()

Redeclares java.util.stream.Node.spliterator.

Returns a Spliterator describing the elements contained in this Node.

public T_NODE
truncate(long from, long to, IntFunction<T[]> generator)

Redeclares as abstract: java.util.stream.Node.truncate.

Return a node describing a subsequence of the elements of this node, starting at the given inclusive start offset and ending at the given exclusive end offset.

Inherited from java.util.stream.Node:
copyIntocountforEachgetChildCountgetShape

Method Detail

asArrayback to summary
public default T[] asArray(IntFunction<T[]> generator)

Implements java.util.stream.Node.asArray.

Doc from java.util.stream.Node.asArray.

Provides an array view of the contents of this node.

Depending on the underlying implementation, this may return a reference to an internal array rather than a copy. Since the returned array may be shared, the returned array should not be modified. The generator function may be consulted to create the array if a new array needs to be created.

Implementation Specification

the default implementation invokes the generator to create an instance of a boxed primitive array with a length of count() and then invokes copyInto(T[], int) with that array at an offset of 0.

Annotations
@Override
asPrimitiveArrayback to summary
public T_ARR asPrimitiveArray()

Views this node as a primitive array.

Depending on the underlying implementation this may return a reference to an internal array rather than a copy. It is the callers responsibility to decide if either this node or the array is utilized as the primary reference for the data.

Returns:T_ARR

an array containing the contents of this Node

copyIntoback to summary
public void copyInto(T_ARR array, int offset)

Copies the content of this Node into a primitive array, starting at a given offset into the array. It is the caller's responsibility to ensure there is sufficient room in the array.

Parameters
array:T_ARR

the array into which to copy the contents of this Node

offset:int

the starting offset within the array

Exceptions
IndexOutOfBoundsException:
if copying would cause access of data outside array bounds
NullPointerException:
if array is null
forEachback to summary
public void forEach(T_CONS action)

Traverses the elements of this node, and invoke the provided action with each element.

Parameters
action:T_CONS

a consumer that is to be invoked with each element in this Node.OfPrimitive

getChildback to summary
public default T_NODE getChild(int i)

Overrides default java.util.stream.Node.getChild.

Doc from java.util.stream.Node.getChild.

Retrieves the child Node at a given index.

Annotations
@Override
newArrayback to summary
public T_ARR newArray(int count)

Creates a new primitive array.

Parameters
count:int

the length of the primitive array.

Returns:T_ARR

the new primitive array.

spliteratorback to summary
public T_SPLITR spliterator()

Redeclares java.util.stream.Node.spliterator.

Doc from java.util.stream.Node.spliterator.

Returns a Spliterator describing the elements contained in this Node.

Returns:T_SPLITR

a Spliterator.OfPrimitive describing the elements of this node

Annotations
@Override
truncateback to summary
public T_NODE truncate(long from, long to, IntFunction<T[]> generator)

Redeclares as abstract: java.util.stream.Node.truncate.

Doc from java.util.stream.Node.truncate.

Return a node describing a subsequence of the elements of this node, starting at the given inclusive start offset and ending at the given exclusive end offset.