public enum BufferType extends Enum<BufferType> implements Attribute
Enum Constant and Description |
---|
HEAP
Allocates a buffer onto the Java heap, and keeps all elements on it.
|
SPILL
Allocates a buffer onto the Java heap and temporary files.
|
VOLATILE
Does not allocate buffer space.
|
Modifier and Type | Method and Description |
---|---|
static BufferType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BufferType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getDeclaringClass
public static final BufferType HEAP
public static final BufferType SPILL
public static final BufferType VOLATILE
public static BufferType[] values()
for (BufferType c : BufferType.values()) System.out.println(c);
public static 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 nullCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.