Class Sequences.BigDecimalHalvingIterator
java.lang.Object
com.pholser.junit.quickcheck.internal.Sequences.BigDecimalHalvingIterator
- All Implemented Interfaces:
Iterator<BigDecimal>
- Enclosing class:
- Sequences
private static final class Sequences.BigDecimalHalvingIterator
extends Object
implements Iterator<BigDecimal>
-
Field Details
-
max
-
done
private boolean done -
next
-
-
Constructor Details
-
BigDecimalHalvingIterator
BigDecimalHalvingIterator(BigDecimal start, BigDecimal max)
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIterator<BigDecimal>
-
next
- Specified by:
nextin interfaceIterator<BigDecimal>
-
peek
-