Package cdc.applic.factorization.events
Enum ReduceEvent.Type
- java.lang.Object
-
- java.lang.Enum<ReduceEvent.Type>
-
- cdc.applic.factorization.events.ReduceEvent.Type
-
- All Implemented Interfaces:
Serializable,Comparable<ReduceEvent.Type>
- Enclosing class:
- ReduceEvent<T>
public static enum ReduceEvent.Type extends Enum<ReduceEvent.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHANGE_OBJECT_APPLICABILITYREMOVE_OBJECT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ReduceEvent.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static ReduceEvent.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHANGE_OBJECT_APPLICABILITY
public static final ReduceEvent.Type CHANGE_OBJECT_APPLICABILITY
-
REMOVE_OBJECT
public static final ReduceEvent.Type REMOVE_OBJECT
-
-
Method Detail
-
values
public static ReduceEvent.Type[] 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 (ReduceEvent.Type c : ReduceEvent.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReduceEvent.Type 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
-
-