Package org.xipki.qa
Class RangeBigIntegerIterator
- java.lang.Object
-
- org.xipki.qa.RangeBigIntegerIterator
-
- All Implemented Interfaces:
Iterator<BigInteger>
public class RangeBigIntegerIterator extends Object implements Iterator<BigInteger>
Iterator which iterates theBigIntegeras specified by a list ofBigIntegerRanges.- Since:
- 2.1.0
- Author:
- Lijun Liao (xipki)
-
-
Constructor Summary
Constructors Constructor Description RangeBigIntegerIterator(List<BigIntegerRange> ranges, boolean loop)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()BigIntegernext()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-
-
-
Constructor Detail
-
RangeBigIntegerIterator
public RangeBigIntegerIterator(List<BigIntegerRange> ranges, boolean loop)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfaceIterator<BigInteger>
-
next
public BigInteger next()
- Specified by:
nextin interfaceIterator<BigInteger>
-
-