enumeration
Enum SequenceTag

java.lang.Object
  extended by java.lang.Enum<SequenceTag>
      extended by enumeration.SequenceTag
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SequenceTag>

public enum SequenceTag
extends java.lang.Enum<SequenceTag>

The tag of sequence number.

Author:
xzw

Enum Constant Summary
HEAP
          number = the heap number, q is heap-oriented.
HIERARCHY
          number = the hierarchy number, q is hierarchy-oriented.
NONE
          number = meaningless, q is heap-oriented.
 
Method Summary
static SequenceTag valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SequenceTag[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NONE

public static final SequenceTag NONE
number = meaningless, q is heap-oriented.


HIERARCHY

public static final SequenceTag HIERARCHY
number = the hierarchy number, q is hierarchy-oriented.


HEAP

public static final SequenceTag HEAP
number = the heap number, q is heap-oriented.

Method Detail

values

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

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

valueOf

public static SequenceTag 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