Enum Class RatesOptions.VolType

java.lang.Object
java.lang.Enum<RatesOptions.VolType>
com.quantfinlib.rates.RatesOptions.VolType
All Implemented Interfaces:
Serializable, Comparable<RatesOptions.VolType>, Constable
Enclosing class:
RatesOptions

public static enum RatesOptions.VolType extends Enum<RatesOptions.VolType>
Which vol a quote is: lognormal (Black-76), shifted lognormal (Black-76 on forward + shift and strike + shift) or normal (Bachelier).
  • Enum Constant Details

  • Method Details

    • values

      public static RatesOptions.VolType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RatesOptions.VolType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null