Class ToBXStruct

java.lang.Object
ortus.boxlang.runtime.bifs.BIF
ortus.boxlang.runtime.bifs.global.stream.ToBXStruct

@BoxMember(type=STREAM) public class ToBXStruct extends BIF
  • Constructor Details

    • ToBXStruct

      public ToBXStruct()
      Constructor
  • Method Details

    • _invoke

      public Object _invoke(IBoxContext context, ArgumentsScope arguments)
      Collect a Java stream into a BoxLang Struct. Must be a stream of Map.Entry instances.
      Specified by:
      _invoke in class BIF
      Parameters:
      context - The context in which the BIF is being invoked.
      arguments - Argument scope for the BIF.
      Returns:
      The result of the invocation