Class BitwiseOr

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

public class BitwiseOr extends Object implements IOperator
Performs BitwiseOr z = x b| y
  • Constructor Details

    • BitwiseOr

      public BitwiseOr()
  • 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