public static enum Frame.Header.Flag extends java.lang.Enum<Frame.Header.Flag>
Enum Constant and Description |
---|
COMPRESSED |
TRACING |
Modifier and Type | Method and Description |
---|---|
static java.util.EnumSet<Frame.Header.Flag> |
deserialize(int flags) |
static int |
serialize(java.util.EnumSet<Frame.Header.Flag> flags) |
static Frame.Header.Flag |
valueOf(java.lang.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(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 java.util.EnumSet<Frame.Header.Flag> deserialize(int flags)
public static int serialize(java.util.EnumSet<Frame.Header.Flag> flags)
Copyright © 2013 The Apache Software Foundation