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