public enum LastFragment extends Enum<LastFragment>
Enum Constant and Description |
---|
LAST_MESSAGE
Last Message.
|
NO_VALUE
Identifies no value.
|
NOT_LAST_MESSAGE
Not Last Message.
|
Modifier and Type | Method and Description |
---|---|
static LastFragment |
forValue(byte value) |
byte |
getValue() |
static LastFragment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LastFragment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LastFragment NO_VALUE
public static final LastFragment NOT_LAST_MESSAGE
public static final LastFragment LAST_MESSAGE
public static LastFragment[] values()
for (LastFragment c : LastFragment.values()) System.out.println(c);
public static LastFragment 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 byte getValue()
public static LastFragment forValue(byte value)
Copyright © 2012–2024 Onix Solutions. All rights reserved.