Package jromp.parallel.operation
Class DivideOperation<T extends Number>
java.lang.Object
jromp.parallel.operation.DivideOperation<T>
- Type Parameters:
T
- the type of the value.
- All Implemented Interfaces:
Supplier<UnaryOperator<T>>
,Operation<T>
Operation to divide a value by another value.
-
Constructor Details
-
DivideOperation
Constructs a divide operation.- Parameters:
value
- the value to divide by.
-
-
Method Details
-
identifier
Description copied from interface:Operation
Returns the identifier of the operation.- Specified by:
identifier
in interfaceOperation<T extends Number>
- Returns:
- String representation of the operation.
-
get
Description copied from interface:Operation
Returns the operation as aUnaryOperator
.
-