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, unit
contains, contains, getLeftEndpoint, getRightEndpoint, isLeftClosed, isReversed, isRightClosed
clone, emptyArray, finalize, getClass, jailbreak, notify, notifyAll, wait, wait, wait
count, count, distinctBy, distinctList, filterIndexedTo, filterIndexedToList, filterNotTo, filterNotToList, filterTo, filterToList, first, first, firstOrNull, firstOrNull, flatMap, flatMapTo, fold, forEach, forEachIndexed, indexOfFirst, indexOfLast, intersect, joinTo, joinToString, last, last, lastOrNull, lastOrNull, mapIndexed, mapIndexedNotNull, mapIndexedNotNullTo, mapIndexedNotNullToList, mapIndexedTo, mapIndexedToList, mapNotNull, mapNotNullTo, mapNotNullToList, mapTo, mapToList, maxWith, minWith, partition, reversed, single, single, singleOrNull, singleOrNull, spliterator, subList, subList, subtract, toList, toSet, union
contains, contains, getLeftEndpoint, getRightEndpoint, isLeftClosed, isReversed, isRightClosed
public 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 © 2024. All rights reserved.