public final class LongInterval extends NumberInterval<Long,LongInterval>
| Modifier and Type | Class and Description |
|---|---|
class |
LongInterval.ForwardIterator |
| Constructor and Description |
|---|
LongInterval(Long left,
Long right) |
LongInterval(Long left,
Long right,
long lStep,
boolean bLeftClosed,
boolean bRightClosed,
boolean bReverse) |
| 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, isReverse, isRightClosedclone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorcontains, contains, getLeftEndpoint, getRightEndpoint, isLeftClosed, isReverse, isRightClosedpublic Iterator<Long> iterateFromLeft()
IIterableInterval.iterator(),
IIterableInterval.iterateFromRight()public Iterator<Long> iterateFromRight()
IIterableInterval.iterator(),
IIterableInterval.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 © 2020. All rights reserved.