Class BitwiseSignedLeftShift

java.lang.Object
ortus.boxlang.runtime.operators.BitwiseSignedLeftShift
All Implemented Interfaces:
IOperator

public class BitwiseSignedLeftShift extends Object implements IOperator
Performs BitwiseSignedLeftShift z = x b<< y
  • Constructor Details

    • BitwiseSignedLeftShift

      public BitwiseSignedLeftShift()
  • Method Details

    • invoke

      public static Number invoke(Object left, Object right)
      Parameters:
      left - The left operand
      right - The right operand
      Returns:
      The result
    • invoke

      public static Number invoke(IBoxContext context, Object target, Key name, Object right)
      Apply this operator to an object/key and set the new value back in the same object/key
      Returns:
      The result