public enum PriceType extends Enum<PriceType> implements EnumValue
Enum Constant and Description |
---|
DISCOUNT |
FIXED_AMOUNT |
PER_SHARE |
PERCENTAGE |
PREMIUM |
SPREAD |
TED_PRICE |
TED_YIELD |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(byte[] val) |
boolean |
equals(byte[] val,
int offset,
int length) |
byte[] |
getValue() |
static PriceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PriceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PriceType PERCENTAGE
public static final PriceType PER_SHARE
public static final PriceType FIXED_AMOUNT
public static final PriceType DISCOUNT
public static final PriceType PREMIUM
public static final PriceType SPREAD
public static final PriceType TED_PRICE
public static final PriceType TED_YIELD
public static PriceType[] values()
for (PriceType c : PriceType.values()) System.out.println(c);
public static PriceType 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 boolean equals(byte[] val, int offset, int length)
Copyright © 2000–2022 EPAM Systems. All rights reserved.