Enum Class IntegerArithmeticExpression.Operation
java.lang.Object
java.lang.Enum<IntegerArithmeticExpression.Operation>
com.petrolpark.core.scratch.symbol.expression.math.IntegerArithmeticExpression.Operation
- All Implemented Interfaces:
DropdownArgument.Entry<IScratchEnvironment,,IntegerArithmeticExpression.Operation> Serializable,Comparable<IntegerArithmeticExpression.Operation>,Constable
- Enclosing class:
IntegerArithmeticExpression
public static enum IntegerArithmeticExpression.Operation
extends Enum<IntegerArithmeticExpression.Operation>
implements DropdownArgument.Entry<IScratchEnvironment,IntegerArithmeticExpression.Operation>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected net.minecraft.network.chat.Componentprotected final String -
Method Summary
Modifier and TypeMethodDescriptionabstract Longnet.minecraft.network.chat.Componentname(IScratchEnvironment environment) value(IScratchEnvironment environment) Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ADD
-
SUBTRACT
-
MULTIPLY
-
DIV
-
MOD
-
AND
-
OR
-
XOR
-
-
Field Details
-
translationKey
-
name
protected net.minecraft.network.chat.Component name
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
apply
-
name
- Specified by:
namein interfaceDropdownArgument.Entry<IScratchEnvironment,IntegerArithmeticExpression.Operation>
-
value
- Specified by:
valuein interfaceDropdownArgument.Entry<IScratchEnvironment,IntegerArithmeticExpression.Operation>
-