Enum N08_Part2_DataStructureAccess.Mode

java.lang.Object
  extended by java.lang.Enum<N08_Part2_DataStructureAccess.Mode>
      extended by N08_Part2_DataStructureAccess.Mode
All Implemented Interfaces:
Serializable, Comparable<N08_Part2_DataStructureAccess.Mode>
Enclosing class:
N08_Part2_DataStructureAccess

protected static enum N08_Part2_DataStructureAccess.Mode
extends Enum<N08_Part2_DataStructureAccess.Mode>

Enum of all the supported data structure access pattern modes.

This enum is multithread safe: it is stateless (except for the enumeration of values, which are immutable).

Like all java enums, this enum is Comparable and Serializable.

See Also:
Enum documentation

Enum Constant Summary
random
           
sequential
           
 
Method Summary
protected static N08_Part2_DataStructureAccess.Mode parse(String s)
           
static N08_Part2_DataStructureAccess.Mode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static N08_Part2_DataStructureAccess.Mode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
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
 

Enum Constant Detail

sequential

public static final N08_Part2_DataStructureAccess.Mode sequential

random

public static final N08_Part2_DataStructureAccess.Mode random
Method Detail

values

public static N08_Part2_DataStructureAccess.Mode[] 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 (N08_Part2_DataStructureAccess.Mode c : N08_Part2_DataStructureAccess.Mode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static N08_Part2_DataStructureAccess.Mode valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

parse

protected static N08_Part2_DataStructureAccess.Mode parse(String s)
                                                   throws IllegalArgumentException
Throws:
IllegalArgumentException