Class FpSqrtHardToDRoundIterator
- java.lang.Object
-
- ru.ispras.testbase.knowledge.iterator.FilteringIterator<GeneratorResult<FpNumber>>
-
- ru.ispras.testbase.knowledge.floating.sqrt.FpSqrtHardToDRoundIterator
-
- All Implemented Interfaces:
Iterator<GeneratorResult<FpNumber>>
public final class FpSqrtHardToDRoundIterator extends FilteringIterator<GeneratorResult<FpNumber>>
FpSqrtHardToDRoundIterator
in addition toFpSqrtHardToDRoundInternalIterator
performs filtration of values (removes duplicates).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ru.ispras.testbase.knowledge.iterator.FilteringIterator
FilteringIterator.Type
-
-
Constructor Summary
Constructors Constructor Description FpSqrtHardToDRoundIterator(FpFormat format)
Constructs a copy of the square root hard-to-round iterator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
equals(GeneratorResult<FpNumber> lhs, GeneratorResult<FpNumber> rhs)
Checks whether two values are equal (can be overloaded in a subclass).
-
-
-
Constructor Detail
-
FpSqrtHardToDRoundIterator
public FpSqrtHardToDRoundIterator(FpFormat format)
Constructs a copy of the square root hard-to-round iterator.- Parameters:
format
- the format.
-
-
Method Detail
-
equals
protected boolean equals(GeneratorResult<FpNumber> lhs, GeneratorResult<FpNumber> rhs)
Description copied from class:FilteringIterator
Checks whether two values are equal (can be overloaded in a subclass).- Overrides:
equals
in classFilteringIterator<GeneratorResult<FpNumber>>
- Parameters:
lhs
- the left-hand-side value.rhs
- the right-hand-side value.- Returns:
true
if the value are equal;false
otherwise.
-
-