@Deprecated public class LocatorComparator extends Object implements Comparator<LocatorIF>
Modifier and Type | Field and Description |
---|---|
protected Collection<TopicIF> |
scopes
Deprecated.
|
protected Comparator<String> |
tc
Deprecated.
|
Constructor and Description |
---|
LocatorComparator()
Deprecated.
Empty constructor, used on application startup to initialise a
"fast" comparator which will compare Locators using no context.
|
LocatorComparator(Collection<TopicIF> context)
Deprecated.
Constructor used to make a comparator which will compare Locators
using the context provided.
|
Modifier and Type | Method and Description |
---|---|
int |
compare(LocatorIF l1,
LocatorIF l2)
Deprecated.
Compares two LocatorIFs
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
protected Comparator<String> tc
protected Collection<TopicIF> scopes
public LocatorComparator()
public LocatorComparator(Collection<TopicIF> context)
public int compare(LocatorIF l1, LocatorIF l2)
compare
in interface Comparator<LocatorIF>