public static enum TempBufferHolder.Type extends 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(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(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 © 2005–2024 OpenHMS. All rights reserved.