public enum PegPriceType extends Enum<PegPriceType> implements EnumValue
Enum Constant and Description |
---|
LAST_PEG |
MARKET_PEG |
MID_PRICE_PEG |
OPENING_PEG |
PEG_TO_LIMIT_PRICE |
PEG_TO_VWAP |
PRIMARY_PEG |
TRAILING_STOP_PEG |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(byte[] val) |
boolean |
equals(byte[] val,
int offset,
int length) |
byte[] |
getValue() |
static PegPriceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PegPriceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PegPriceType LAST_PEG
public static final PegPriceType MID_PRICE_PEG
public static final PegPriceType OPENING_PEG
public static final PegPriceType MARKET_PEG
public static final PegPriceType PRIMARY_PEG
public static final PegPriceType PEG_TO_VWAP
public static final PegPriceType TRAILING_STOP_PEG
public static final PegPriceType PEG_TO_LIMIT_PRICE
public static PegPriceType[] values()
for (PegPriceType c : PegPriceType.values()) System.out.println(c);
public static PegPriceType 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.