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