T
public class FieldComparator<T> extends Object implements Comparator<T>, Serializable
FieldComparator(Class<T> beanClass, String fieldName)
int
compare(T o1, T o2)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public FieldComparator(Class<T> beanClass, String fieldName)
beanClass
fieldName
public int compare(T o1, T o2)
compare
Comparator<T>
Copyright © 2019. All rights reserved.