private static class ComposeWarningsGuard.GuardComparator extends java.lang.Object implements java.util.Comparator<WarningsGuard>, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.util.Map<WarningsGuard,java.lang.Integer> |
orderOfAddition |
private static long |
serialVersionUID |
Modifier | Constructor and Description |
---|---|
private |
GuardComparator(java.util.Map<WarningsGuard,java.lang.Integer> orderOfAddition) |
Modifier and Type | Method and Description |
---|---|
int |
compare(WarningsGuard a,
WarningsGuard b) |
private static final long serialVersionUID
private final java.util.Map<WarningsGuard,java.lang.Integer> orderOfAddition
private GuardComparator(java.util.Map<WarningsGuard,java.lang.Integer> orderOfAddition)
public int compare(WarningsGuard a, WarningsGuard b)
compare
in interface java.util.Comparator<WarningsGuard>