| Modifier and Type | Class and Description |
|---|---|
class |
LongRange.ForwardIterator |
| Constructor and Description |
|---|
LongRange(Long left,
Long right) |
LongRange(Long left,
Long right,
long lStep,
boolean leftClosed,
boolean rightClosed,
boolean reverse) |
| Modifier and Type | Method and Description |
|---|---|
Long |
getFromLeft(int iStepIndex) |
Long |
getFromRight(int iStepIndex) |
Iterator<Long> |
iterateFromLeft() |
Iterator<Long> |
iterateFromRight() |
equals, getStep, getUnit, hashCode, iterator, step, toString, unitcontains, contains, getLeftEndpoint, getRightEndpoint, isLeftClosed, isReversed, isRightClosedclone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorcontains, contains, getLeftEndpoint, getRightEndpoint, isLeftClosed, isReversed, isRightClosedpublic Iterator<Long> iterateFromLeft()
IterableRange.iterator(),
IterableRange.iterateFromRight()public Iterator<Long> iterateFromRight()
IterableRange.iterator(),
IterableRange.iterateFromLeft()public Long getFromLeft(int iStepIndex)
iStepIndex - The index of the step from the left endpointpublic Long getFromRight(int iStepIndex)
iStepIndex - The index of the step from the right endpointCopyright © 2021. All rights reserved.