public static enum DataChunk.Type extends Enum<DataChunk.Type>
Modifier and Type | Method and Description |
---|---|
static DataChunk.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataChunk.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataChunk.Type None
public static final DataChunk.Type Bytes
public static final DataChunk.Type Buffer
public static final DataChunk.Type Chars
public static final DataChunk.Type String
public static DataChunk.Type[] values()
for (DataChunk.Type c : DataChunk.Type.values()) System.out.println(c);
public static DataChunk.Type 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 nullCopyright © 2014 Oracle Corporation. All rights reserved.