Package spoon.support.comparator
Class DeepRepresentationComparator
java.lang.Object
spoon.support.comparator.DeepRepresentationComparator
- All Implemented Interfaces:
Serializable,Comparator<CtElement>
public class DeepRepresentationComparator
extends Object
implements Comparator<CtElement>, Serializable
Compares based on a toString representation.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
DeepRepresentationComparator
public DeepRepresentationComparator()
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<CtElement>
-