public class SinglePropertyComparator<T,P> extends Object implements Comparator<T>
Constructor and Description |
---|
SinglePropertyComparator(Class<T> beanClass,
String propertyName,
Class<P> propertyReturnType,
Comparator<P> propertyComparator) |
Modifier and Type | Method and Description |
---|---|
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 int compare(T o1, T o2)
compare
in interface Comparator<T>
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.