edu.isi.pegasus.planner.catalog.replica.impl
private class LRC.RLSString2Comparator extends Object implements Comparator
RLSString2
objects by the
value in the s1 field. This comparator should only be used for grouping
purposes not in Sets or Maps etc.Modifier | Constructor and Description |
---|---|
private |
LRC.RLSString2Comparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(Object o1,
Object o2)
Compares this object with the specified object for order.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public int compare(Object o1, Object o2)
compare
in interface Comparator
o1
- is the first object to be compared.o2
- is the second object to be compared.ClassCastException
- if the specified object's type
prevents it from being compared to this Object.