public enum Operation extends Enum<Operation >
| Enum Constant and Description |
|---|
COLLECTION
collection creation
|
DIFFERENCE
difference operation
|
HULL
hull
|
INTERSECTION
intersection operation
|
UNION
union operation
|
| Modifier and Type | Method and Description |
|---|---|
static Operation |
valueOf(String
Returns the enum constant of this type with the specified name.
|
static Operation |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final OperationUNION
public static final OperationINTERSECTION
public static final OperationDIFFERENCE
public static final OperationCOLLECTION
public static final OperationHULL
public static Operation[] values()
for (Operation c : Operation.values()) System.out.println(c);
public static OperationvalueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null