- java.lang.Object
-
- org.quantlib.CashFlows
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
public class CashFlows extends Object implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanswigCMemOwn
-
Constructor Summary
Constructors Modifier Constructor Description protectedCashFlows(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static doubleatmRate(Leg leg, YieldTermStructure discountCurve, boolean includeSettlementDateFlows)static doubleatmRate(Leg leg, YieldTermStructure discountCurve, boolean includeSettlementDateFlows, Date settlementDate)static doubleatmRate(Leg leg, YieldTermStructure discountCurve, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)static doubleatmRate(Leg leg, YieldTermStructure discountCurve, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate, double npv)static doublebasisPointValue(Leg leg, double yield, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows)static doublebasisPointValue(Leg leg, double yield, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate)static doublebasisPointValue(Leg leg, double yield, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)static doublebasisPointValue(Leg leg, InterestRate yield, boolean includeSettlementDateFlows)static doublebasisPointValue(Leg leg, InterestRate yield, boolean includeSettlementDateFlows, Date settlementDate)static doublebasisPointValue(Leg leg, InterestRate yield, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)static doublebps(Leg arg0, double yield, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows)static doublebps(Leg arg0, double yield, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate)static doublebps(Leg arg0, double yield, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)static doublebps(Leg arg0, InterestRate arg1, boolean includeSettlementDateFlows)static doublebps(Leg arg0, InterestRate arg1, boolean includeSettlementDateFlows, Date settlementDate)static doublebps(Leg arg0, InterestRate arg1, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)static doublebps(Leg leg, YieldTermStructureHandle discountCurve, boolean includeSettlementDateFlows)static doublebps(Leg leg, YieldTermStructureHandle discountCurve, boolean includeSettlementDateFlows, Date settlementDate)static doublebps(Leg leg, YieldTermStructureHandle discountCurve, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)static doublebps(Leg leg, YieldTermStructure discountCurve, boolean includeSettlementDateFlows)static doublebps(Leg leg, YieldTermStructure discountCurve, boolean includeSettlementDateFlows, Date settlementDate)static doublebps(Leg leg, YieldTermStructure discountCurve, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)static doubleconvexity(Leg arg0, double yield, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows)static doubleconvexity(Leg arg0, double yield, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate)static doubleconvexity(Leg arg0, double yield, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)static doubleconvexity(Leg arg0, InterestRate arg1, boolean includeSettlementDateFlows)static doubleconvexity(Leg arg0, InterestRate arg1, boolean includeSettlementDateFlows, Date settlementDate)static doubleconvexity(Leg arg0, InterestRate arg1, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)voiddelete()static doubleduration(Leg arg0, double yield, DayCounter dayCounter, Compounding compounding, Frequency frequency, Duration.Type type, boolean includeSettlementDateFlows)static doubleduration(Leg arg0, double yield, DayCounter dayCounter, Compounding compounding, Frequency frequency, Duration.Type type, boolean includeSettlementDateFlows, Date settlementDate)static doubleduration(Leg arg0, double yield, DayCounter dayCounter, Compounding compounding, Frequency frequency, Duration.Type type, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)static doubleduration(Leg arg0, InterestRate arg1, Duration.Type type, boolean includeSettlementDateFlows)static doubleduration(Leg arg0, InterestRate arg1, Duration.Type type, boolean includeSettlementDateFlows, Date settlementDate)protected voidfinalize()protected static longgetCPtr(CashFlows obj)static DatematurityDate(Leg arg0)static CashFlownextCashFlow(Leg leg, boolean includeSettlementDateFlows)static CashFlownextCashFlow(Leg leg, boolean includeSettlementDateFlows, Date settlementDate)static doublenextCashFlowAmount(Leg leg, boolean includeSettlementDateFlows)static doublenextCashFlowAmount(Leg leg, boolean includeSettlementDateFlows, Date settlementDate)static DatenextCashFlowDate(Leg leg, boolean includeSettlementDateFlows)static DatenextCashFlowDate(Leg leg, boolean includeSettlementDateFlows, Date settlementDate)static doublenpv(Leg arg0, double yield, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows)static doublenpv(Leg arg0, double yield, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate)static doublenpv(Leg arg0, double yield, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)static doublenpv(Leg arg0, InterestRate arg1, boolean includeSettlementDateFlows)static doublenpv(Leg arg0, InterestRate arg1, boolean includeSettlementDateFlows, Date settlementDate)static doublenpv(Leg arg0, InterestRate arg1, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)static doublenpv(Leg leg, YieldTermStructureHandle discountCurve, boolean includeSettlementDateFlows)static doublenpv(Leg leg, YieldTermStructureHandle discountCurve, boolean includeSettlementDateFlows, Date settlementDate)static doublenpv(Leg leg, YieldTermStructureHandle discountCurve, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)static doublenpv(Leg leg, YieldTermStructure discountCurve, double zSpread, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows)static doublenpv(Leg leg, YieldTermStructure discountCurve, double zSpread, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate)static doublenpv(Leg leg, YieldTermStructure discountCurve, double zSpread, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)static DoublePairnpvbps(Leg leg, YieldTermStructureHandle discountCurve, boolean includeSettlementDateFlows)static DoublePairnpvbps(Leg leg, YieldTermStructureHandle discountCurve, boolean includeSettlementDateFlows, Date settlementDate)static DoublePairnpvbps(Leg leg, YieldTermStructureHandle discountCurve, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)static DoublePairnpvbps(Leg leg, YieldTermStructure discountCurve, boolean includeSettlementDateFlows)static DoublePairnpvbps(Leg leg, YieldTermStructure discountCurve, boolean includeSettlementDateFlows, Date settlementDate)static DoublePairnpvbps(Leg leg, YieldTermStructure discountCurve, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)static CashFlowpreviousCashFlow(Leg leg, boolean includeSettlementDateFlows)static CashFlowpreviousCashFlow(Leg leg, boolean includeSettlementDateFlows, Date settlementDate)static doublepreviousCashFlowAmount(Leg leg, boolean includeSettlementDateFlows)static doublepreviousCashFlowAmount(Leg leg, boolean includeSettlementDateFlows, Date settlementDate)static DatepreviousCashFlowDate(Leg leg, boolean includeSettlementDateFlows)static DatepreviousCashFlowDate(Leg leg, boolean includeSettlementDateFlows, Date settlementDate)static DatestartDate(Leg arg0)protected static longswigRelease(CashFlows obj)static doubleyield(Leg arg0, double npv, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows)static doubleyield(Leg arg0, double npv, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate)static doubleyield(Leg arg0, double npv, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)static doubleyield(Leg arg0, double npv, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate, double accuracy)static doubleyield(Leg arg0, double npv, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate, double accuracy, long maxIterations)static doubleyield(Leg arg0, double npv, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate, double accuracy, long maxIterations, double guess)static doublezSpread(Leg leg, double npv, YieldTermStructure arg2, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows)static doublezSpread(Leg leg, double npv, YieldTermStructure arg2, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate)static doublezSpread(Leg leg, double npv, YieldTermStructure arg2, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)static doublezSpread(Leg leg, double npv, YieldTermStructure arg2, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate, double accuracy)static doublezSpread(Leg leg, double npv, YieldTermStructure arg2, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate, double accuracy, long maxIterations)static doublezSpread(Leg leg, double npv, YieldTermStructure arg2, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate, double accuracy, long maxIterations, double guess)
-
-
-
Field Detail
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Detail
-
CashFlows
protected CashFlows(long cPtr, boolean cMemoryOwn)
-
-
Method Detail
-
swigRelease
protected static long swigRelease(CashFlows obj)
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
maturityDate
public static Date maturityDate(Leg arg0)
-
previousCashFlowDate
public static Date previousCashFlowDate(Leg leg, boolean includeSettlementDateFlows, Date settlementDate)
-
previousCashFlowDate
public static Date previousCashFlowDate(Leg leg, boolean includeSettlementDateFlows)
-
nextCashFlowDate
public static Date nextCashFlowDate(Leg leg, boolean includeSettlementDateFlows, Date settlementDate)
-
nextCashFlowDate
public static Date nextCashFlowDate(Leg leg, boolean includeSettlementDateFlows)
-
previousCashFlowAmount
public static double previousCashFlowAmount(Leg leg, boolean includeSettlementDateFlows, Date settlementDate)
-
previousCashFlowAmount
public static double previousCashFlowAmount(Leg leg, boolean includeSettlementDateFlows)
-
nextCashFlowAmount
public static double nextCashFlowAmount(Leg leg, boolean includeSettlementDateFlows, Date settlementDate)
-
nextCashFlowAmount
public static double nextCashFlowAmount(Leg leg, boolean includeSettlementDateFlows)
-
previousCashFlow
public static CashFlow previousCashFlow(Leg leg, boolean includeSettlementDateFlows, Date settlementDate)
-
previousCashFlow
public static CashFlow previousCashFlow(Leg leg, boolean includeSettlementDateFlows)
-
nextCashFlow
public static CashFlow nextCashFlow(Leg leg, boolean includeSettlementDateFlows, Date settlementDate)
-
nextCashFlow
public static CashFlow nextCashFlow(Leg leg, boolean includeSettlementDateFlows)
-
npv
public static double npv(Leg leg, YieldTermStructure discountCurve, double zSpread, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)
-
npv
public static double npv(Leg leg, YieldTermStructure discountCurve, double zSpread, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate)
-
npv
public static double npv(Leg leg, YieldTermStructure discountCurve, double zSpread, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows)
-
npv
public static double npv(Leg leg, YieldTermStructureHandle discountCurve, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)
-
npv
public static double npv(Leg leg, YieldTermStructureHandle discountCurve, boolean includeSettlementDateFlows, Date settlementDate)
-
npv
public static double npv(Leg leg, YieldTermStructureHandle discountCurve, boolean includeSettlementDateFlows)
-
npv
public static double npv(Leg arg0, InterestRate arg1, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)
-
npv
public static double npv(Leg arg0, InterestRate arg1, boolean includeSettlementDateFlows, Date settlementDate)
-
npv
public static double npv(Leg arg0, InterestRate arg1, boolean includeSettlementDateFlows)
-
npv
public static double npv(Leg arg0, double yield, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)
-
npv
public static double npv(Leg arg0, double yield, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate)
-
npv
public static double npv(Leg arg0, double yield, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows)
-
bps
public static double bps(Leg leg, YieldTermStructure discountCurve, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)
-
bps
public static double bps(Leg leg, YieldTermStructure discountCurve, boolean includeSettlementDateFlows, Date settlementDate)
-
bps
public static double bps(Leg leg, YieldTermStructure discountCurve, boolean includeSettlementDateFlows)
-
bps
public static double bps(Leg leg, YieldTermStructureHandle discountCurve, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)
-
bps
public static double bps(Leg leg, YieldTermStructureHandle discountCurve, boolean includeSettlementDateFlows, Date settlementDate)
-
bps
public static double bps(Leg leg, YieldTermStructureHandle discountCurve, boolean includeSettlementDateFlows)
-
bps
public static double bps(Leg arg0, InterestRate arg1, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)
-
bps
public static double bps(Leg arg0, InterestRate arg1, boolean includeSettlementDateFlows, Date settlementDate)
-
bps
public static double bps(Leg arg0, InterestRate arg1, boolean includeSettlementDateFlows)
-
bps
public static double bps(Leg arg0, double yield, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)
-
bps
public static double bps(Leg arg0, double yield, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate)
-
bps
public static double bps(Leg arg0, double yield, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows)
-
npvbps
public static DoublePair npvbps(Leg leg, YieldTermStructure discountCurve, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)
-
npvbps
public static DoublePair npvbps(Leg leg, YieldTermStructure discountCurve, boolean includeSettlementDateFlows, Date settlementDate)
-
npvbps
public static DoublePair npvbps(Leg leg, YieldTermStructure discountCurve, boolean includeSettlementDateFlows)
-
npvbps
public static DoublePair npvbps(Leg leg, YieldTermStructureHandle discountCurve, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)
-
npvbps
public static DoublePair npvbps(Leg leg, YieldTermStructureHandle discountCurve, boolean includeSettlementDateFlows, Date settlementDate)
-
npvbps
public static DoublePair npvbps(Leg leg, YieldTermStructureHandle discountCurve, boolean includeSettlementDateFlows)
-
atmRate
public static double atmRate(Leg leg, YieldTermStructure discountCurve, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate, double npv)
-
atmRate
public static double atmRate(Leg leg, YieldTermStructure discountCurve, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)
-
atmRate
public static double atmRate(Leg leg, YieldTermStructure discountCurve, boolean includeSettlementDateFlows, Date settlementDate)
-
atmRate
public static double atmRate(Leg leg, YieldTermStructure discountCurve, boolean includeSettlementDateFlows)
-
yield
public static double yield(Leg arg0, double npv, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate, double accuracy, long maxIterations, double guess)
-
yield
public static double yield(Leg arg0, double npv, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate, double accuracy, long maxIterations)
-
yield
public static double yield(Leg arg0, double npv, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate, double accuracy)
-
yield
public static double yield(Leg arg0, double npv, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)
-
yield
public static double yield(Leg arg0, double npv, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate)
-
yield
public static double yield(Leg arg0, double npv, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows)
-
duration
public static double duration(Leg arg0, InterestRate arg1, Duration.Type type, boolean includeSettlementDateFlows, Date settlementDate)
-
duration
public static double duration(Leg arg0, InterestRate arg1, Duration.Type type, boolean includeSettlementDateFlows)
-
duration
public static double duration(Leg arg0, double yield, DayCounter dayCounter, Compounding compounding, Frequency frequency, Duration.Type type, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)
-
duration
public static double duration(Leg arg0, double yield, DayCounter dayCounter, Compounding compounding, Frequency frequency, Duration.Type type, boolean includeSettlementDateFlows, Date settlementDate)
-
duration
public static double duration(Leg arg0, double yield, DayCounter dayCounter, Compounding compounding, Frequency frequency, Duration.Type type, boolean includeSettlementDateFlows)
-
convexity
public static double convexity(Leg arg0, InterestRate arg1, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)
-
convexity
public static double convexity(Leg arg0, InterestRate arg1, boolean includeSettlementDateFlows, Date settlementDate)
-
convexity
public static double convexity(Leg arg0, InterestRate arg1, boolean includeSettlementDateFlows)
-
convexity
public static double convexity(Leg arg0, double yield, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)
-
convexity
public static double convexity(Leg arg0, double yield, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate)
-
convexity
public static double convexity(Leg arg0, double yield, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows)
-
basisPointValue
public static double basisPointValue(Leg leg, InterestRate yield, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)
-
basisPointValue
public static double basisPointValue(Leg leg, InterestRate yield, boolean includeSettlementDateFlows, Date settlementDate)
-
basisPointValue
public static double basisPointValue(Leg leg, InterestRate yield, boolean includeSettlementDateFlows)
-
basisPointValue
public static double basisPointValue(Leg leg, double yield, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)
-
basisPointValue
public static double basisPointValue(Leg leg, double yield, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate)
-
basisPointValue
public static double basisPointValue(Leg leg, double yield, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows)
-
zSpread
public static double zSpread(Leg leg, double npv, YieldTermStructure arg2, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate, double accuracy, long maxIterations, double guess)
-
zSpread
public static double zSpread(Leg leg, double npv, YieldTermStructure arg2, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate, double accuracy, long maxIterations)
-
zSpread
public static double zSpread(Leg leg, double npv, YieldTermStructure arg2, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate, double accuracy)
-
zSpread
public static double zSpread(Leg leg, double npv, YieldTermStructure arg2, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate, Date npvDate)
-
zSpread
public static double zSpread(Leg leg, double npv, YieldTermStructure arg2, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows, Date settlementDate)
-
zSpread
public static double zSpread(Leg leg, double npv, YieldTermStructure arg2, DayCounter dayCounter, Compounding compounding, Frequency frequency, boolean includeSettlementDateFlows)
-
-