public class ExtendedByTypesComparator extends Object implements Comparator<Object>
Constructor and Description |
---|
ExtendedByTypesComparator(Comparator<Object> comparator,
TypeComparators comparatorsByType) |
ExtendedByTypesComparator(TypeComparators comparatorsByType) |
Modifier and Type | Method and Description |
---|---|
int |
compare(Object actual,
Object other) |
Comparator<Object> |
getComparator() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public ExtendedByTypesComparator(TypeComparators comparatorsByType)
public ExtendedByTypesComparator(Comparator<Object> comparator, TypeComparators comparatorsByType)
public int compare(Object actual, Object other)
compare
in interface Comparator<Object>
public Comparator<Object> getComparator()
Copyright © 2014–2019 AssertJ. All rights reserved.