Module net.finmath.lib
Package net.finmath.modelling
Interface ProductFactory<P extends ProductDescriptor>
- Type Parameters:
P- The base class of the product descriptors which can be handled by thisProductFactory.
- All Known Implementing Classes:
InterestRateAnalyticProductFactory,InterestRateMonteCarloProductFactory,ProductFactoryCascade,SingleAssetFourierProductFactory,SingleAssetMonteCarloProductFactory
public interface ProductFactory<P extends ProductDescriptor>
- Version:
- 1.0
- Author:
- Christian Fries, Luca Del Re
-
Method Summary
Modifier and TypeMethodDescriptionDescribedProduct<? extends P>getProductFromDescriptor(ProductDescriptor descriptor)Constructs the product from a given product descriptor.
-
Method Details
-
getProductFromDescriptor
Constructs the product from a given product descriptor.- Parameters:
descriptor- A product descriptor.- Returns:
- An instance of the product describable by this descriptor.
-