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, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public float getEpsilon()
public int compare(Float x, Float y)
compare
in interface Comparator<Float>
Copyright © 2014–2017 AssertJ. All rights reserved.