org.jquantlib.instruments
Class TypePayoff
- java.lang.Object
-
- org.jquantlib.instruments.Payoff
-
- org.jquantlib.instruments.TypePayoff
-
- All Implemented Interfaces:
- PolymorphicVisitable
- Direct Known Subclasses:
- StrikedTypePayoff
public abstract class TypePayoff extends Payoff
Intermediate class for typed payoffs (CALL/PUT)- See Also:
Option.Type
-
-
Constructor Summary
Constructors Constructor and Description TypePayoff(Option.Type type)Constructs aPayoffbacked on aOption.Type
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.Stringdescription()Option.TypeoptionType()
-
-
-
Constructor Detail
-
TypePayoff
public TypePayoff(Option.Type type)
Constructs aPayoffbacked on aOption.Type- Parameters:
type- is theOption.Typebacking thisPayoff- See Also:
Option.Type
-
-
Method Detail
-
optionType
public final Option.Type optionType()
- Returns:
- the
Option.Typebacking thisPayoff - See Also:
Option.Type
-
description
public java.lang.String description()
- Specified by:
descriptionin classPayoff
-
-
DataMelt 3.0 © DataMelt by jWork.ORG