public static enum TempBufferHolder.Type extends java.lang.Enum<TempBufferHolder.Type>
| Enum Constant and Description |
|---|
HARD
a hard reference is maintained to the created buffer
|
NONE
no reference is maintained to a created buffer (new buffer every
time)
|
SOFT
a soft reference is maintained to the created buffer (may be garbage
collected if memory gets tight)
|
| Modifier and Type | Method and Description |
|---|---|
static TempBufferHolder.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TempBufferHolder.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TempBufferHolder.Type HARD
public static final TempBufferHolder.Type SOFT
public static final TempBufferHolder.Type NONE
public static TempBufferHolder.Type[] values()
for (TempBufferHolder.Type c : TempBufferHolder.Type.values()) System.out.println(c);
public static TempBufferHolder.Type 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 null