Package io.keikai.model
Enum PasteOption.PasteOperation
- java.lang.Object
-
- java.lang.Enum<PasteOption.PasteOperation>
-
- io.keikai.model.PasteOption.PasteOperation
-
- All Implemented Interfaces:
Serializable
,Comparable<PasteOption.PasteOperation>
- Enclosing class:
- PasteOption
public static enum PasteOption.PasteOperation extends Enum<PasteOption.PasteOperation>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PasteOption.PasteOperation
valueOf(String name)
Returns the enum constant of this type with the specified name.static PasteOption.PasteOperation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD
public static final PasteOption.PasteOperation ADD
-
SUB
public static final PasteOption.PasteOperation SUB
-
MUL
public static final PasteOption.PasteOperation MUL
-
DIV
public static final PasteOption.PasteOperation DIV
-
NONE
public static final PasteOption.PasteOperation NONE
-
-
Method Detail
-
values
public static PasteOption.PasteOperation[] 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 (PasteOption.PasteOperation c : PasteOption.PasteOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PasteOption.PasteOperation 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
-
-