jeco.dmm.sim2.lib.freelist
Enum FreeList.DATA_STRUCTURE
java.lang.Object
java.lang.Enum<FreeList.DATA_STRUCTURE>
jeco.dmm.sim2.lib.freelist.FreeList.DATA_STRUCTURE
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<FreeList.DATA_STRUCTURE>
- Enclosing class:
- FreeList
public static enum FreeList.DATA_STRUCTURE
- extends java.lang.Enum<FreeList.DATA_STRUCTURE>
Data Structure used to manage free blocks
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
SLL
public static final FreeList.DATA_STRUCTURE SLL
DLL
public static final FreeList.DATA_STRUCTURE DLL
BTREE
public static final FreeList.DATA_STRUCTURE BTREE
values
public static FreeList.DATA_STRUCTURE[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (FreeList.DATA_STRUCTURE c : FreeList.DATA_STRUCTURE.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static FreeList.DATA_STRUCTURE valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null