public interface CycleSegment
| Modifier and Type | Method and Description |
|---|---|
boolean |
isExhausted() |
long |
nextCycle()
The next cycle, which should be a positive number between 0 and Long.MAX_VALUE.
|
default long[] |
nextCycles(int len) |
long |
peekNextCycle() |
long nextCycle()
Implementations of this method should not worry about thread safety.
boolean isExhausted()
default long[] nextCycles(int len)
long peekNextCycle()
Copyright © 2018. All rights reserved.