public enum HeaderType extends Enum<HeaderType>
| Enum Constant and Description |
|---|
BooleanFalse |
BooleanTrue |
Byte |
ByteBuf |
Int16 |
Int32 |
Int64 |
String |
TimeStamp |
UUID |
| Modifier and Type | Method and Description |
|---|---|
int |
getEnumIntValue() |
static HeaderType |
getValueFromInt(int intValue) |
int |
getWireBytesOverhead() |
boolean |
isVariableLength() |
static HeaderType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HeaderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HeaderType BooleanTrue
public static final HeaderType BooleanFalse
public static final HeaderType Byte
public static final HeaderType Int16
public static final HeaderType Int32
public static final HeaderType Int64
public static final HeaderType ByteBuf
public static final HeaderType String
public static final HeaderType TimeStamp
public static final HeaderType UUID
public static HeaderType[] values()
for (HeaderType c : HeaderType.values()) System.out.println(c);
public static HeaderType 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 int getWireBytesOverhead()
public int getEnumIntValue()
public boolean isVariableLength()
public static HeaderType getValueFromInt(int intValue)
Copyright © 2021. All rights reserved.