Class DefaultOchSignalComparator

  • All Implemented Interfaces:
    java.util.Comparator<OchSignal>

    public class DefaultOchSignalComparator
    extends java.lang.Object
    implements java.util.Comparator<OchSignal>
    Comparator implementation for OchSignal. Assumes identical grid type and channel spacing.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(OchSignal o1, OchSignal o2)  
      static java.util.TreeSet<OchSignal> newOchSignalTreeSet()
      Creates a new instance of TreeSet 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
    • Constructor Detail

      • DefaultOchSignalComparator

        public DefaultOchSignalComparator()
    • Method Detail

      • newOchSignalTreeSet

        public static java.util.TreeSet<OchSignal> newOchSignalTreeSet()
        Creates a new instance of TreeSet using this Comparator.
        Returns:
        TreeSet