org.omnaest.utils.structure.collection.list.sorted
Enum TreeList.ElementVisitor.TraversalHint

java.lang.Object
  extended by java.lang.Enum<TreeList.ElementVisitor.TraversalHint>
      extended by org.omnaest.utils.structure.collection.list.sorted.TreeList.ElementVisitor.TraversalHint
All Implemented Interfaces:
Serializable, Comparable<TreeList.ElementVisitor.TraversalHint>
Enclosing interface:
TreeList.ElementVisitor<E>

public static enum TreeList.ElementVisitor.TraversalHint
extends Enum<TreeList.ElementVisitor.TraversalHint>

A TreeList.ElementVisitor.TraversalHint affects the traversal over the elements of the TreeList

Author:
Omnaest
See Also:
TreeList.ElementVisitor

Enum Constant Summary
CANCEL_TRAVERSAL
           
GO_ON
           
SKIP_SUBLIST
           
 
Method Summary
static TreeList.ElementVisitor.TraversalHint valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TreeList.ElementVisitor.TraversalHint[] 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

GO_ON

public static final TreeList.ElementVisitor.TraversalHint GO_ON

SKIP_SUBLIST

public static final TreeList.ElementVisitor.TraversalHint SKIP_SUBLIST

CANCEL_TRAVERSAL

public static final TreeList.ElementVisitor.TraversalHint CANCEL_TRAVERSAL
Method Detail

values

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

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

valueOf

public static TreeList.ElementVisitor.TraversalHint 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


Copyright © 2013. All Rights Reserved.