Class RefComparator
- java.lang.Object
-
- org.opennms.features.topology.api.topo.RefComparator
-
- All Implemented Interfaces:
Comparator<Ref>
public class RefComparator extends Object implements Comparator<Ref>
This comparator only cares about the tuple of namespace and id.
-
-
Constructor Summary
Constructors Constructor Description RefComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(Ref a, Ref b)
-
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
-
-
-
-
Method Detail
-
compare
public int compare(Ref a, Ref b)
- Specified by:
compare
in interfaceComparator<Ref>
-
-