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