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, unitcontains, contains, getLeftEndpoint, getRightEndpoint, isLeftClosed, isReversed, isRightClosedclone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorcontains, contains, getLeftEndpoint, getRightEndpoint, isLeftClosed, isReversed, isRightClosedpublic 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 © 2021. All rights reserved.