public static enum Frame.Header.Flag extends Enum<Frame.Header.Flag>
Enum Constant and Description |
---|
COMPRESSED |
TRACING |
Modifier and Type | Method and Description |
---|---|
static EnumSet<Frame.Header.Flag> |
deserialize(int flags) |
static int |
serialize(EnumSet<Frame.Header.Flag> flags) |
static Frame.Header.Flag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Frame.Header.Flag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Frame.Header.Flag COMPRESSED
public static final Frame.Header.Flag TRACING
public static Frame.Header.Flag[] values()
for (Frame.Header.Flag c : Frame.Header.Flag.values()) System.out.println(c);
public static Frame.Header.Flag 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<Frame.Header.Flag> deserialize(int flags)
public static int serialize(EnumSet<Frame.Header.Flag> flags)
Copyright © 2013. All Rights Reserved.