public enum ThresholdIndexes extends java.lang.Enum<ThresholdIndexes> implements XdrElement
enum ThresholdIndexes
{
THRESHOLD_MASTER_WEIGHT = 0,
THRESHOLD_LOW = 1,
THRESHOLD_MED = 2,
THRESHOLD_HIGH = 3
};
| Enum Constant and Description |
|---|
THRESHOLD_HIGH |
THRESHOLD_LOW |
THRESHOLD_MASTER_WEIGHT |
THRESHOLD_MED |
| Modifier and Type | Method and Description |
|---|---|
static ThresholdIndexes |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
static ThresholdIndexes |
fromXdrBase64(java.lang.String xdr) |
static ThresholdIndexes |
fromXdrByteArray(byte[] xdr) |
int |
getValue() |
static ThresholdIndexes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ThresholdIndexes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOftoXdrBase64, toXdrByteArraypublic static final ThresholdIndexes THRESHOLD_MASTER_WEIGHT
public static final ThresholdIndexes THRESHOLD_LOW
public static final ThresholdIndexes THRESHOLD_MED
public static final ThresholdIndexes THRESHOLD_HIGH
public static ThresholdIndexes[] values()
for (ThresholdIndexes c : ThresholdIndexes.values()) System.out.println(c);
public static ThresholdIndexes valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getValue()
public static ThresholdIndexes decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOExceptionpublic void encode(XdrDataOutputStream stream) throws java.io.IOException
encode in interface XdrElementjava.io.IOExceptionpublic static ThresholdIndexes fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOExceptionpublic static ThresholdIndexes fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException