public enum BinaryFormatFlag extends Enum<BinaryFormatFlag>
Flags for the binary output format.
Enum Constant and Description |
---|
NO_COMPACT
Do not use compact user and item IDs.
|
TIMESTAMPS
Include timestamps in the packed data.
|
Modifier and Type | Method and Description |
---|---|
static EnumSet<BinaryFormatFlag> |
makeSet(BinaryFormatFlag... flags) |
static BinaryFormatFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BinaryFormatFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BinaryFormatFlag TIMESTAMPS
public static final BinaryFormatFlag NO_COMPACT
public static BinaryFormatFlag[] values()
for (BinaryFormatFlag c : BinaryFormatFlag.values()) System.out.println(c);
public static BinaryFormatFlag 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 static EnumSet<BinaryFormatFlag> makeSet(BinaryFormatFlag... flags)