se.unlogic.standardutils.collections
Class MethodComparator<T>
java.lang.Object
se.unlogic.standardutils.collections.MethodComparator<T>
- All Implemented Interfaces:
- Comparator<T>
public class MethodComparator<T>
- extends Object
- implements Comparator<T>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
method
protected Method method
order
protected final Order order
MethodComparator
public MethodComparator(Class<? extends T> clazz,
String methodName,
Order order)
compare
public int compare(T o1,
T o2)
- Specified by:
compare
in interface Comparator<T>
Copyright © 2011. All Rights Reserved.