Enum PaigeTarjan.WorklistPolicy
- java.lang.Object
-
- java.lang.Enum<PaigeTarjan.WorklistPolicy>
-
- net.automatalib.util.partitionrefinement.PaigeTarjan.WorklistPolicy
-
- All Implemented Interfaces:
Serializable
,Comparable<PaigeTarjan.WorklistPolicy>
- Enclosing class:
- PaigeTarjan
public static enum PaigeTarjan.WorklistPolicy extends Enum<PaigeTarjan.WorklistPolicy>
Determines how the worklist is managed, i.e., where newly created blocks are inserted.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PaigeTarjan.WorklistPolicy
valueOf(String name)
Returns the enum constant of this type with the specified name.static PaigeTarjan.WorklistPolicy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FIFO
public static final PaigeTarjan.WorklistPolicy FIFO
Newly created blocks are inserted at the beginning of the worklist.
-
LIFO
public static final PaigeTarjan.WorklistPolicy LIFO
Newly created blocks are inserted at the end of the worklist.
-
-
Method Detail
-
values
public static PaigeTarjan.WorklistPolicy[] 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 (PaigeTarjan.WorklistPolicy c : PaigeTarjan.WorklistPolicy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PaigeTarjan.WorklistPolicy 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
-
-