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>

public class ShiftLeftOperation<T extends Number> extends Object implements Operation<T>
Operation to perform a left shift operation on a value.
  • Constructor Details

    • ShiftLeftOperation

      public ShiftLeftOperation(T value)
      Constructs a left shift operation.
      Parameters:
      value - the number of bits to shift to the left.
  • Method Details