public class SequentialRange<E extends Sequential<E,S,U>,S,U> extends AbstractIterableRange<E,S,U,SequentialRange<E,S,U>>
| Constructor and Description |
|---|
SequentialRange(E left,
E right,
S step,
U unit,
boolean leftClosed,
boolean rightClosed,
boolean reverse) |
| Modifier and Type | Method and Description |
|---|---|
E |
getFromLeft(int iStepIndex) |
E |
getFromRight(int iStepIndex) |
Iterator<E> |
iterateFromLeft() |
Iterator<E> |
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<E> iterateFromLeft()
IterableRange.iterator(),
IterableRange.iterateFromRight()public Iterator<E> iterateFromRight()
IterableRange.iterator(),
IterableRange.iterateFromLeft()public E getFromLeft(int iStepIndex)
iStepIndex - The index of the step from the left endpointpublic E getFromRight(int iStepIndex)
iStepIndex - The index of the step from the right endpointCopyright © 2020. All rights reserved.