public static final class AlmostEqualFloat.ContextRelative extends Object
| Constructor | Description |
|---|---|
ContextRelative() |
Construct a new equality context.
|
| Modifier and Type | Method | 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 void setMaxAbsoluteDifference(float max)
max - The required differencepublic float getMaxRelativeDifference()
public void setMaxRelativeDifference(float max)
max - The required differenceCopyright © 2017 <code@io7m.com> http://io7m.com