Package io.keikai.range
Enum SRange.PasteOperation
- java.lang.Object
-
- java.lang.Enum<SRange.PasteOperation>
-
- io.keikai.range.SRange.PasteOperation
-
- All Implemented Interfaces:
Serializable
,Comparable<SRange.PasteOperation>
- Enclosing interface:
- SRange
public static enum SRange.PasteOperation extends Enum<SRange.PasteOperation>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SRange.PasteOperation
valueOf(String name)
Returns the enum constant of this type with the specified name.static SRange.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 SRange.PasteOperation ADD
-
SUB
public static final SRange.PasteOperation SUB
-
MUL
public static final SRange.PasteOperation MUL
-
DIV
public static final SRange.PasteOperation DIV
-
NONE
public static final SRange.PasteOperation NONE
-
-
Method Detail
-
values
public static SRange.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 (SRange.PasteOperation c : SRange.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 SRange.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
-
-