public static enum AtomPrefixTypes.AtomType extends java.lang.Enum<AtomPrefixTypes.AtomType>
BaggageAtoms#OVERFLOW_MARKER
that is just the empty byte array (ie, it
has no prefix) and therefore lexicographically less than all other atomsModifier and Type | Field and Description |
---|---|
static int |
BITS |
byte |
byteValue |
int |
id |
static int |
VALUES |
Modifier and Type | Method and Description |
---|---|
static AtomPrefixTypes.AtomType |
fromByte(byte b) |
boolean |
match(byte b) |
static AtomPrefixTypes.AtomType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AtomPrefixTypes.AtomType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AtomPrefixTypes.AtomType Data
public static final AtomPrefixTypes.AtomType Header
public static final int BITS
public static final int VALUES
public final int id
public final byte byteValue
public static AtomPrefixTypes.AtomType[] values()
for (AtomPrefixTypes.AtomType c : AtomPrefixTypes.AtomType.values()) System.out.println(c);
public static AtomPrefixTypes.AtomType 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 static AtomPrefixTypes.AtomType fromByte(byte b)
public boolean match(byte b)