public final class BigDecimalRange extends NumberRange<BigDecimal,BigDecimalRange>
Constructor and Description |
---|
BigDecimalRange(BigDecimal left,
BigDecimal right) |
BigDecimalRange(BigDecimal left,
BigDecimal right,
BigDecimal step,
boolean leftClosed,
boolean rightClosed,
boolean reverse) |
Modifier and Type | Method and Description |
---|---|
BigDecimal |
getFromLeft(int iStepIndex) |
BigDecimal |
getFromRight(int iStepIndex) |
Iterator<BigDecimal> |
iterateFromLeft() |
Iterator<BigDecimal> |
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 BigDecimalRange(BigDecimal left, BigDecimal right)
public BigDecimalRange(BigDecimal left, BigDecimal right, BigDecimal step, boolean leftClosed, boolean rightClosed, boolean reverse)
public Iterator<BigDecimal> iterateFromLeft()
IterableRange.iterator()
,
IterableRange.iterateFromRight()
public Iterator<BigDecimal> iterateFromRight()
IterableRange.iterator()
,
IterableRange.iterateFromLeft()
public BigDecimal getFromLeft(int iStepIndex)
iStepIndex
- The index of the step from the left endpointpublic BigDecimal getFromRight(int iStepIndex)
iStepIndex
- The index of the step from the right endpointCopyright © 2024. All rights reserved.