T - object typepublic class ObjectSeqComparator<T>
extends java.lang.Object
implements java.util.Comparator<T>
| Constructor and Description |
|---|
ObjectSeqComparator(java.util.List<? extends java.util.Set<T>> sequenceRulesList) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(T o1,
T o2)
This method returns the result of comparison the given objects
having min and max int values.
|
public ObjectSeqComparator(java.util.List<? extends java.util.Set<T>> sequenceRulesList)
public int compare(T o1, T o2)
compare in interface java.util.Comparator<T>o1 - the first object to be compared.o2 - the second object to be compared.