public class DicVarComparator<T>
extends java.lang.Object
implements java.util.Comparator<T>
History:
Constructor and Description |
---|
DicVarComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(T o1,
T o2)
To compare two object o1 and o2.
|
public int compare(T o1, T o2)
compare
in interface java.util.Comparator<T>
o1
- first object to be comparedo2
- second object to be compared