Interface Partition
-
public interface Partition
-
-
Field Summary
Fields Modifier and Type Field Description static int
MAX_NODE_COUNT
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
consume(java.util.function.LongConsumer consumer)
long
nodeCount()
static Partition
of(long startNode, long nodeCount)
long
startNode()
default java.util.stream.LongStream
stream()
-
-
-
Field Detail
-
MAX_NODE_COUNT
static final int MAX_NODE_COUNT
- See Also:
- Constant Field Values
-
-
Method Detail
-
startNode
long startNode()
-
nodeCount
long nodeCount()
-
consume
default void consume(java.util.function.LongConsumer consumer)
-
of
static Partition of(long startNode, long nodeCount)
-
stream
default java.util.stream.LongStream stream()
-
-