public class DoubleComparator extends Object implements Comparator<Double>
Constructor and Description |
---|
DoubleComparator(double epsilon) |
Modifier and Type | Method and Description |
---|---|
int |
compare(Double x,
Double y) |
boolean |
equals(Object obj) |
double |
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 int compare(Double x, Double y)
compare
in interface Comparator<Double>
public double getEpsilon()
Copyright © 2014–2016 AssertJ. All rights reserved.