public final class FpSqrtHardToNRoundIterator extends FilteringIterator<GeneratorResult<FpNumber>>
FpSqrtHardToNRoundInternalIterator
performs filtration of
values (removes duplicates).FilteringIterator.Type
Constructor and Description |
---|
FpSqrtHardToNRoundIterator(FpFormat format)
Constructs a copy of the square root hard-to-round iterator.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
equals(GeneratorResult<FpNumber> lhs,
GeneratorResult<FpNumber> rhs)
Checks whether two values are equal (can be overloaded in a subclass).
|
public FpSqrtHardToNRoundIterator(FpFormat format)
format
- the format.protected boolean equals(GeneratorResult<FpNumber> lhs, GeneratorResult<FpNumber> rhs)
FilteringIterator
equals
in class FilteringIterator<GeneratorResult<FpNumber>>
lhs
- the left-hand-side value.rhs
- the right-hand-side value.true
if the value are equal; false
otherwise.