public static final class AlmostEqualDouble.ContextRelative extends Object
Constructor and Description |
---|
ContextRelative()
Construct a new equality context.
|
Modifier and Type | Method and Description |
---|---|
double |
getMaxAbsoluteDifference() |
double |
getMaxRelativeDifference() |
void |
setMaxAbsoluteDifference(double max)
Set the current maximum absolute difference
|
void |
setMaxRelativeDifference(double max)
Set the current maximum relative difference
|
String |
toString() |
public double getMaxAbsoluteDifference()
public double getMaxRelativeDifference()
public void setMaxAbsoluteDifference(double max)
max
- The required differencepublic void setMaxRelativeDifference(double max)
max
- The required differenceCopyright © 2016 <[email protected]> http://io7m.com