public class SequenceableInterval<E extends ISequenceable<E,S,U> & Comparable<E>,S,U> extends IterableInterval<E,S,U,SequenceableInterval<E,S,U>>
| Constructor and Description |
|---|
SequenceableInterval(E left,
E right,
S step,
U unit,
boolean bLeftClosed,
boolean bRightClosed,
boolean bReverse) |
| 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, isReverse, isRightClosedclone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorcontains, contains, getLeftEndpoint, getRightEndpoint, isLeftClosed, isReverse, isRightClosedpublic Iterator<E> iterateFromLeft()
IIterableInterval.iterator(),
IIterableInterval.iterateFromRight()public Iterator<E> iterateFromRight()
IIterableInterval.iterator(),
IIterableInterval.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 © 2022. All rights reserved.