Package org.onosproject.net
Class DefaultOchSignalComparator
- java.lang.Object
-
- org.onosproject.net.DefaultOchSignalComparator
-
- All Implemented Interfaces:
Comparator<OchSignal>
public class DefaultOchSignalComparator extends Object implements Comparator<OchSignal>
Comparator implementation for OchSignal. Assumes identical grid type and channel spacing.
-
-
Constructor Summary
Constructors Constructor Description DefaultOchSignalComparator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(OchSignal o1, OchSignal o2)
static TreeSet<OchSignal>
newOchSignalTreeSet()
Creates a new instance ofTreeSet
using this Comparator.-
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
-
-