public static enum SwaptionAnalyticApproximation.ValueUnit extends Enum<SwaptionAnalyticApproximation.ValueUnit>
| Enum Constant and Description |
|---|
INTEGRATEDVARIANCE
Returns the Black-Scholes implied integrated variance, i.e., σ2 T
|
VALUE
Returns the value of the swaption
|
VOLATILITY
Returns the Black-Scholes implied volatility, i.e., σ
|
| Modifier and Type | Method and Description |
|---|---|
static SwaptionAnalyticApproximation.ValueUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SwaptionAnalyticApproximation.ValueUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SwaptionAnalyticApproximation.ValueUnit VALUE
public static final SwaptionAnalyticApproximation.ValueUnit INTEGRATEDVARIANCE
public static final SwaptionAnalyticApproximation.ValueUnit VOLATILITY
public static SwaptionAnalyticApproximation.ValueUnit[] values()
for (SwaptionAnalyticApproximation.ValueUnit c : SwaptionAnalyticApproximation.ValueUnit.values()) System.out.println(c);
public static SwaptionAnalyticApproximation.ValueUnit valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017. All rights reserved.