Class ArraySwap

java.lang.Object
ortus.boxlang.runtime.bifs.BIF
ortus.boxlang.runtime.bifs.global.array.ArraySwap

@BoxBIF @BoxMember(type=ARRAY) public class ArraySwap extends BIF
  • Constructor Details

    • ArraySwap

      public ArraySwap()
      Constructor
  • Method Details

    • _invoke

      public Object _invoke(IBoxContext context, ArgumentsScope arguments)
      Swaps array values of an array at specified positions. This function is more efficient than multiple assignment statements
      Specified by:
      _invoke in class BIF
      Parameters:
      context -
      arguments - Argument scope defining the array.
      Returns:
      The result of the invocation