Class Overview
Compare objects based on their order in a supplied list. Fails if the compared objects are not in the source list.
Summary
Public Methods |
int
|
compare(T o1, T o2)
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
java.util.Comparator
int
|
compare(T arg0, T arg1)
|
boolean
|
equals(Object arg0)
|
|
Public Constructors
public
ListOrderComparator
(List<T> list)
Public Methods
public
int
compare
(T o1, T o2)