public final class BigIntegerRange extends NumberRange<java.math.BigInteger,BigIntegerRange>
| Constructor and Description |
|---|
BigIntegerRange(java.math.BigInteger left,
java.math.BigInteger right) |
BigIntegerRange(java.math.BigInteger left,
java.math.BigInteger right,
java.math.BigInteger step,
boolean leftClosed,
boolean rightClosed,
boolean reverse) |
| Modifier and Type | Method and Description |
|---|---|
java.math.BigInteger |
getFromLeft(int iStepIndex) |
java.math.BigInteger |
getFromRight(int iStepIndex) |
java.util.Iterator<java.math.BigInteger> |
iterateFromLeft() |
java.util.Iterator<java.math.BigInteger> |
iterateFromRight() |
equals, getStep, getUnit, hashCode, iterator, step, toString, unitcontains, contains, getLeftEndpoint, getRightEndpoint, isLeftClosed, isReversed, isRightClosedclone, finalize, getClass, jailbreak, notify, notifyAll, wait, wait, waitcount, 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, mapIndexedTo, mapNotNull, mapNotNullTo, mapTo, mapToList, maxWith, minWith, partition, reversed, single, single, singleOrNull, singleOrNull, spliterator, subList, subList, subtract, toList, toSet, unioncontains, contains, getLeftEndpoint, getRightEndpoint, isLeftClosed, isReversed, isRightClosedpublic BigIntegerRange(java.math.BigInteger left,
java.math.BigInteger right)
public BigIntegerRange(java.math.BigInteger left,
java.math.BigInteger right,
java.math.BigInteger step,
boolean leftClosed,
boolean rightClosed,
boolean reverse)
public java.util.Iterator<java.math.BigInteger> iterateFromLeft()
IterableRange.iterator(),
IterableRange.iterateFromRight()public java.util.Iterator<java.math.BigInteger> iterateFromRight()
IterableRange.iterator(),
IterableRange.iterateFromLeft()public java.math.BigInteger getFromLeft(int iStepIndex)
iStepIndex - The index of the step from the left endpointpublic java.math.BigInteger getFromRight(int iStepIndex)
iStepIndex - The index of the step from the right endpointCopyright © 2022. All rights reserved.