java.lang.Object
net.finmath.marketdata.products.AbstractAnalyticProduct
- All Implemented Interfaces:
AnalyticProduct
,Product
- Direct Known Subclasses:
Bond
,Cap
,Cashflow
,Deposit
,Forward
,ForwardRateAgreement
,MarketForwardRateAgreement
,Performance
,Portfolio
,Swap
,SwapAnnuity
,SwapLeg
- Version:
- 1.0
- Author:
- Christian Fries
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the valuation of the product using the given model.double
getValue(AnalyticModel model)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.finmath.marketdata.products.AnalyticProduct
getValue
-
Constructor Details
-
AbstractAnalyticProduct
public AbstractAnalyticProduct()
-
-
Method Details
-
getValue
Description copied from interface:Product
Return the valuation of the product using the given model. Implement this method using a checked cast of the model to a derived model for which the product provides a valuation algorithm. Example: an interest rate product requires that the passed model object implements the interface of an interest rate model. Since there is no polymorphism on arguments (see Double Dynamic Dispatch), we reply on a checked cast. -
getValue
-