Package org.plumelib.util
Class ClassDeterministic.AnnotationComparator
java.lang.Object
org.plumelib.util.ClassDeterministic.AnnotationComparator
- All Implemented Interfaces:
Comparator<Annotation>
- Enclosing class:
- ClassDeterministic
private static class ClassDeterministic.AnnotationComparator
extends Object
implements Comparator<Annotation>
Compares Annotation objects by type name.
-
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
-
AnnotationComparator
public AnnotationComparator()Create a new AnnotationComparator.
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<Annotation>
-