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