public enum PresenceCodec extends Enum<PresenceCodec>
| Enum Constant and Description |
|---|
NULL_VAL |
SBE_CONSTANT |
SBE_OPTIONAL |
SBE_REQUIRED |
| Modifier and Type | Method and Description |
|---|---|
static PresenceCodec |
get(short value) |
short |
value() |
static PresenceCodec |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PresenceCodec[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PresenceCodec SBE_REQUIRED
public static final PresenceCodec SBE_OPTIONAL
public static final PresenceCodec SBE_CONSTANT
public static final PresenceCodec NULL_VAL
public static PresenceCodec[] values()
for (PresenceCodec c : PresenceCodec.values()) System.out.println(c);
public static PresenceCodec 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 short value()
public static PresenceCodec get(short value)
Copyright © 2013 Real Logic Ltd. All Rights Reserved.