public final class BigIntegerInterval extends NumberInterval<BigInteger,BigIntegerInterval>
| Constructor and Description |
|---|
BigIntegerInterval(BigInteger left,
BigInteger right) |
BigIntegerInterval(BigInteger left,
BigInteger right,
BigInteger step,
boolean bLeftClosed,
boolean bRightClosed,
boolean bReverse) |
| 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, isReverse, isRightClosedclone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorcontains, contains, getLeftEndpoint, getRightEndpoint, isLeftClosed, isReverse, isRightClosedpublic BigIntegerInterval(BigInteger left, BigInteger right)
public BigIntegerInterval(BigInteger left, BigInteger right, BigInteger step, boolean bLeftClosed, boolean bRightClosed, boolean bReverse)
public Iterator<BigInteger> iterateFromLeft()
IIterableInterval.iterator(),
IIterableInterval.iterateFromRight()public Iterator<BigInteger> iterateFromRight()
IIterableInterval.iterator(),
IIterableInterval.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.