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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()Returns the operation as aUnaryOperator.Returns the identifier of the operation.
-
Constructor Details
-
DivideOperation
Constructs a divide operation.- Parameters:
value- the value to divide by.
-
-
Method Details
-
identifier
Description copied from interface:OperationReturns the identifier of the operation.- Specified by:
identifierin interfaceOperation<T extends Number>- Returns:
- String representation of the operation.
-
get
Description copied from interface:OperationReturns the operation as aUnaryOperator.
-