public static enum BufferWrapper.BufferType extends Enum<BufferWrapper.BufferType>
| Enum Constant and Description |
|---|
BOOLEAN |
BYTE |
BYTE_ARRAY |
BYTE_ARRAY_COMPRESSED |
BYTE_BUFFER |
BYTE_BUFFER_COMPRESSED |
DATE |
DOUBLE |
FLOAT |
INTEGER |
LONG |
NONE |
OBJECT |
OBJECT_COMPRESSED |
SHORT |
STRING |
STRING_COMPRESSED |
| Modifier and Type | Field and Description |
|---|---|
int |
flags |
| Modifier and Type | Method and Description |
|---|---|
static BufferWrapper.BufferType |
getBufferType(int flags) |
static BufferWrapper.BufferType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BufferWrapper.BufferType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BufferWrapper.BufferType NONE
public static final BufferWrapper.BufferType STRING
public static final BufferWrapper.BufferType STRING_COMPRESSED
public static final BufferWrapper.BufferType BYTE_ARRAY
public static final BufferWrapper.BufferType BYTE_ARRAY_COMPRESSED
public static final BufferWrapper.BufferType BYTE_BUFFER
public static final BufferWrapper.BufferType BYTE_BUFFER_COMPRESSED
public static final BufferWrapper.BufferType BYTE
public static final BufferWrapper.BufferType BOOLEAN
public static final BufferWrapper.BufferType SHORT
public static final BufferWrapper.BufferType INTEGER
public static final BufferWrapper.BufferType FLOAT
public static final BufferWrapper.BufferType DOUBLE
public static final BufferWrapper.BufferType LONG
public static final BufferWrapper.BufferType DATE
public static final BufferWrapper.BufferType OBJECT
public static final BufferWrapper.BufferType OBJECT_COMPRESSED
public static BufferWrapper.BufferType[] values()
for (BufferWrapper.BufferType c : BufferWrapper.BufferType.values()) System.out.println(c);
public static BufferWrapper.BufferType 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 BufferWrapper.BufferType getBufferType(int flags)
Copyright © 2015 Project Grizzly. All Rights Reserved.