org.compass.core.util.concurrent
Enum ConcurrentLinkedHashMap.Node.State

java.lang.Object
  extended by java.lang.Enum<ConcurrentLinkedHashMap.Node.State>
      extended by org.compass.core.util.concurrent.ConcurrentLinkedHashMap.Node.State
All Implemented Interfaces:
Serializable, Comparable<ConcurrentLinkedHashMap.Node.State>
Enclosing class:
ConcurrentLinkedHashMap.Node<K,V>

public static enum ConcurrentLinkedHashMap.Node.State
extends Enum<ConcurrentLinkedHashMap.Node.State>


Enum Constant Summary
LINKED
           
LINKING
           
SENTINEL
           
UNLINKED
           
UNLINKING
           
 
Method Summary
static ConcurrentLinkedHashMap.Node.State valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ConcurrentLinkedHashMap.Node.State[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SENTINEL

public static final ConcurrentLinkedHashMap.Node.State SENTINEL

UNLINKED

public static final ConcurrentLinkedHashMap.Node.State UNLINKED

UNLINKING

public static final ConcurrentLinkedHashMap.Node.State UNLINKING

LINKING

public static final ConcurrentLinkedHashMap.Node.State LINKING

LINKED

public static final ConcurrentLinkedHashMap.Node.State LINKED
Method Detail

values

public static final ConcurrentLinkedHashMap.Node.State[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(ConcurrentLinkedHashMap.Node.State c : ConcurrentLinkedHashMap.Node.State.values())
        System.out.println(c);

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

valueOf

public static ConcurrentLinkedHashMap.Node.State 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


Copyright (c) 2004-2009 The Compass Project.