Package jromp.parallel.operation
Class ShiftLeftOperation<T extends Number>
java.lang.Object
jromp.parallel.operation.ShiftLeftOperation<T>
- Type Parameters:
T
- the type of the value.
- All Implemented Interfaces:
Supplier<UnaryOperator<T>>
,Operation<T>
Operation to perform a left shift operation on a value.
-
Constructor Details
-
ShiftLeftOperation
Constructs a left shift operation.- Parameters:
value
- the number of bits to shift to the left.
-
-
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
.
-