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, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public float getEpsilon()
public boolean equals(Object obj)
equals
in interface Comparator<Float>
equals
in class Object
public int compare(T o1, T o2)
compare
in interface Comparator<T>
Copyright © 2014–2019 AssertJ. All rights reserved.