Package net.sf.basedb.core.snapshot
Class AnnotationSetSnapshot.SortByProjectComparator
java.lang.Object
net.sf.basedb.core.snapshot.AnnotationSetSnapshot.SortByProjectComparator
- All Implemented Interfaces:
Comparator<AnnotationSnapshot>
- Enclosing class:
- AnnotationSetSnapshot
static class AnnotationSetSnapshot.SortByProjectComparator
extends Object
implements Comparator<AnnotationSnapshot>
Comparator for sorting annotation snapshots so that
project-specific annotations appear before default
annotations. This makes it easier to filter out
default values that has been overridden by projec-specific values.
- Since:
- 3.10
-
Constructor Summary
Constructors -
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
-
Constructor Details
-
SortByProjectComparator
SortByProjectComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<AnnotationSnapshot>
-