public class NameComparatorWithGenerality extends NameComparator
scopes, sortNameGrabber, vnGrabber| Constructor and Description |
|---|
NameComparatorWithGenerality()
Empty constructor, used on application startup to initialise a
"fast" comparator which will compare TopicNameIFs and
VariantNameIFs using no context.
|
NameComparatorWithGenerality(Collection<TopicIF> context)
Constructor used to make a comparator which will compare
TopicNameIFs and VariantNameIFs using the context provided.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
getName(NameIF obj)
INTERNAL: helper method which gets out of the object the
base name or variant name value.
|
compare, initSortNameGrabberclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic NameComparatorWithGenerality()
public NameComparatorWithGenerality(Collection<TopicIF> context)
protected String getName(NameIF obj)
getName in class NameComparator