public class FloatComparator extends Object implements Comparator<Float>
| Constructor and Description |
|---|
FloatComparator(float epsilon) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Float x,
Float y) |
boolean |
equals(Object obj) |
float |
getEpsilon() |
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic float getEpsilon()
public int compare(Float x, Float y)
compare in interface Comparator<Float>Copyright © 2014–2016 AssertJ. All rights reserved.