Enum CompositeStateRepository.IterationOrder
- java.lang.Object
-
- java.lang.Enum<CompositeStateRepository.IterationOrder>
-
- org.togglz.core.repository.composite.CompositeStateRepository.IterationOrder
-
- All Implemented Interfaces:
Serializable,Comparable<CompositeStateRepository.IterationOrder>,CompositeStateRepository.RepositorySelector
- Enclosing class:
- CompositeStateRepository
public static enum CompositeStateRepository.IterationOrder extends Enum<CompositeStateRepository.IterationOrder> implements CompositeStateRepository.RepositorySelector
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CompositeStateRepository.IterationOrdervalueOf(String name)Returns the enum constant of this type with the specified name.static CompositeStateRepository.IterationOrder[]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 interface org.togglz.core.repository.composite.CompositeStateRepository.RepositorySelector
getSelected
-
-
-
-
Enum Constant Detail
-
FIFO
public static final CompositeStateRepository.IterationOrder FIFO
The iteration order is the same as what was specified when constructing this composite.
-
LIFO
public static final CompositeStateRepository.IterationOrder LIFO
The iteration order is the revers of what was specified when constructing this composite.
-
-
Method Detail
-
values
public static CompositeStateRepository.IterationOrder[] 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 (CompositeStateRepository.IterationOrder c : CompositeStateRepository.IterationOrder.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CompositeStateRepository.IterationOrder 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 nameNullPointerException- if the argument is null
-
-