public enum PricingModel extends Enum<PricingModel>
Enum Constant and Description |
---|
FisherBlack |
Unknown |
Whaley |
Modifier and Type | Method and Description |
---|---|
static PricingModel |
fromString(String type) |
static PricingModel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PricingModel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PricingModel FisherBlack
public static final PricingModel Whaley
public static final PricingModel Unknown
public static PricingModel[] values()
for (PricingModel c : PricingModel.values()) System.out.println(c);
public static PricingModel 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 nullpublic static PricingModel fromString(String type)
Copyright © 2000-2017 EPAM Systems. All Rights Reserved.