de.interactive_instruments.ShapeChange.ModelDiff
Enum DiffElement.Operation
java.lang.Object
java.lang.Enum<DiffElement.Operation>
de.interactive_instruments.ShapeChange.ModelDiff.DiffElement.Operation
- All Implemented Interfaces:
- Serializable, Comparable<DiffElement.Operation>
- Enclosing class:
- DiffElement
public static enum DiffElement.Operation
- extends Enum<DiffElement.Operation>
DELETE
public static final DiffElement.Operation DELETE
INSERT
public static final DiffElement.Operation INSERT
CHANGE
public static final DiffElement.Operation CHANGE
values
public static DiffElement.Operation[] 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 (DiffElement.Operation c : DiffElement.Operation.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DiffElement.Operation 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 name
NullPointerException
- if the argument is null
toString
public String toString()
- Overrides:
toString
in class Enum<DiffElement.Operation>
Copyright © 2015. All rights reserved.