Documentation of 'org.jquantlib.instruments.EarlierThanCashFlowComparator' Java class
EarlierThanCashFlowComparator
org.jquantlib.instruments

Class EarlierThanCashFlowComparator

  • All Implemented Interfaces:
    java.io.Serializable, java.util.Comparator<CashFlow>


    public class EarlierThanCashFlowComparator
    extends java.lang.Object
    implements java.util.Comparator<CashFlow>, java.io.Serializable
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int compare(CashFlow o1, CashFlow o2)
      Compares its two arguments for order.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Comparator

        comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
    • Constructor Detail

      • EarlierThanCashFlowComparator

        public EarlierThanCashFlowComparator()
    • Method Detail

      • compare

        public int compare(CashFlow o1,
                           CashFlow o2)
        Compares its two arguments for order. Returns a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.
        Specified by:
        compare in interface java.util.Comparator<CashFlow>

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.