public static class CycleArray.ArraySegment extends Object implements CycleSegment
| Constructor and Description |
|---|
ArraySegment(long[] values) |
| 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnextCyclespublic long nextCycle()
CycleSegmentImplementations of this method should not worry about thread safety.
nextCycle in interface CycleSegmentpublic boolean isExhausted()
isExhausted in interface CycleSegmentCopyright © 2017. All rights reserved.