Package spoon.support.comparator
Class QualifiedNameComparator
java.lang.Object
spoon.support.comparator.QualifiedNameComparator
- All Implemented Interfaces:
Serializable
,Comparator<CtElement>
compares based on names (with a preference for qualified names if available)
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
QualifiedNameComparator
public QualifiedNameComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<CtElement>
-