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