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() |
public 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 © 2013–2018 AssertJ. All rights reserved.