public static enum VarIntByteDecoder.DecodeResult extends java.lang.Enum<VarIntByteDecoder.DecodeResult>
| Enum Constant | Description |
|---|---|
RUN_OF_ZEROES |
|
SUCCESS |
|
TOO_BIG |
|
TOO_SHORT |
| Modifier and Type | Method | Description |
|---|---|---|
static VarIntByteDecoder.DecodeResult |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static VarIntByteDecoder.DecodeResult[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VarIntByteDecoder.DecodeResult SUCCESS
public static final VarIntByteDecoder.DecodeResult TOO_SHORT
public static final VarIntByteDecoder.DecodeResult TOO_BIG
public static final VarIntByteDecoder.DecodeResult RUN_OF_ZEROES
public static VarIntByteDecoder.DecodeResult[] values()
for (VarIntByteDecoder.DecodeResult c : VarIntByteDecoder.DecodeResult.values()) System.out.println(c);
public static VarIntByteDecoder.DecodeResult 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 null