Package cdc.applic.factorization.events
Enum CutEvent.Type
- java.lang.Object
-
- java.lang.Enum<CutEvent.Type>
-
- cdc.applic.factorization.events.CutEvent.Type
-
- All Implemented Interfaces:
Serializable,Comparable<CutEvent.Type>
public static enum CutEvent.Type extends Enum<CutEvent.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CUT_OBJECT_APPLICABILITYDEGENERATE_OBJECT_APPLICABILITYEXCLUDE_OBJECT_APPLICABILITYINCLUDE_OBJECT_APPLICABILITY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CutEvent.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static CutEvent.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXCLUDE_OBJECT_APPLICABILITY
public static final CutEvent.Type EXCLUDE_OBJECT_APPLICABILITY
-
INCLUDE_OBJECT_APPLICABILITY
public static final CutEvent.Type INCLUDE_OBJECT_APPLICABILITY
-
CUT_OBJECT_APPLICABILITY
public static final CutEvent.Type CUT_OBJECT_APPLICABILITY
-
DEGENERATE_OBJECT_APPLICABILITY
public static final CutEvent.Type DEGENERATE_OBJECT_APPLICABILITY
-
-
Method Detail
-
values
public static CutEvent.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 (CutEvent.Type c : CutEvent.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 CutEvent.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
-
-