Interface Operator.Simple
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.spongepowered.api.command.parameter.managed.operator.Operator
Operator.Simple
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
apply(double first, double second)
Operates on two numbers, returning the result of the operation.int
apply(int first, int second)
Operates on two numbers, returning the result of the operation.long
apply(long first, long second)
Operates on two numbers, returning the result of the operation.
-
-
-
Method Detail
-
apply
int apply(int first, int second)
Operates on two numbers, returning the result of the operation.- Parameters:
first
- the first number to operate onsecond
- the second number to operate on- Returns:
- the result of the operation
-
apply
long apply(long first, long second)
Operates on two numbers, returning the result of the operation.- Parameters:
first
- the first number to operate onsecond
- the second number to operate on- Returns:
- the result of the operation
-
apply
double apply(double first, double second)
Operates on two numbers, returning the result of the operation.- Parameters:
first
- the first number to operate onsecond
- the second number to operate on- Returns:
- the result of the operation
-
-