public final class FpDivHardToNRoundIterator extends java.lang.Object implements Iterator<GeneratorResult<FpNumber>>
Constructor and Description |
---|
FpDivHardToNRoundIterator(FpFormat format)
Constructs a division hard-to-round iterator.
|
Modifier and Type | Method and Description |
---|---|
FpDivHardToNRoundIterator |
clone()
Returns a copy of the iterator.
|
boolean |
hasValue()
Checks if the iterator is not exhausted (a value is available).
|
void |
init()
Initializes the iterator.
|
void |
next()
Makes an iteration.
|
void |
stop()
Stops the iterator.
|
GeneratorResult<FpNumber> |
value()
Returns the current value of the iterator.
|
public FpDivHardToNRoundIterator(FpFormat format)
format
- the format.public void init()
Iterator
init
in interface Iterator<GeneratorResult<FpNumber>>
public boolean hasValue()
Iterator
hasValue
in interface Iterator<GeneratorResult<FpNumber>>
true
if the iterator is not exhausted; false
otherwise.public GeneratorResult<FpNumber> value()
Iterator
value
in interface Iterator<GeneratorResult<FpNumber>>
public void next()
Iterator
next
in interface Iterator<GeneratorResult<FpNumber>>
public void stop()
Iterator
stop
in interface Iterator<GeneratorResult<FpNumber>>
public FpDivHardToNRoundIterator clone()
Iterator
clone
in interface Iterator<GeneratorResult<FpNumber>>
clone
in class java.lang.Object