Class TenorComparator

  • All Implemented Interfaces:
    java.util.Comparator<com.caplin.motif.fx.common.Tenor>

    public class TenorComparator
    extends java.lang.Object
    implements java.util.Comparator<com.caplin.motif.fx.common.Tenor>
    • Constructor Summary

      Constructors 
      Constructor Description
      TenorComparator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(com.caplin.motif.fx.common.Tenor o1, com.caplin.motif.fx.common.Tenor o2)  
      • Methods inherited from class java.lang.Object

        equals, 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

      • TenorComparator

        public TenorComparator()
    • Method Detail

      • compare

        public int compare​(com.caplin.motif.fx.common.Tenor o1,
                           com.caplin.motif.fx.common.Tenor o2)
        Specified by:
        compare in interface java.util.Comparator<com.caplin.motif.fx.common.Tenor>