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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribedProduct<? extends P>getProductFromDescriptor(ProductDescriptor descriptor)Constructs the product from a given product descriptor.
-
-
-
Method Detail
-
getProductFromDescriptor
DescribedProduct<? extends P> getProductFromDescriptor(ProductDescriptor descriptor)
Constructs the product from a given product descriptor.- Parameters:
descriptor- A product descriptor.- Returns:
- An instance of the product describable by this descriptor.
-
-