public class ChainedComparator<T> extends Object implements Comparator<T>
Constructor and Description |
---|
ChainedComparator(List<Comparator<T>> comparators) |
Modifier and Type | Method and Description |
---|---|
int |
compare(T o1,
T o2) |
boolean |
equals(Object o) |
List<Comparator<T>> |
getComparators() |
int |
hashCode() |
String |
toString() |
comparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
@ConstructorProperties(value="comparators") @Generated(value="lombok") public ChainedComparator(List<Comparator<T>> comparators)
public int compare(T o1, T o2)
compare
in interface Comparator<T>
@Generated(value="lombok") public List<Comparator<T>> getComparators()
@Generated(value="lombok") public boolean equals(Object o)
equals
in interface Comparator<T>
equals
in class Object
@Generated(value="lombok") public int hashCode()
@Generated(value="lombok") public String toString()
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.