Class SetFn<T extends ACell>

All Implemented Interfaces:
IValidated, IWriteable, IFn<CVMBool>

public class SetFn<T extends ACell> extends ADataFn<CVMBool>
  • Constructor Details

    • SetFn

      public SetFn(ASet<T> m)
  • Method Details

    • wrap

      public static <T extends ACell> SetFn<T> wrap(ASet<T> m)
    • invoke

      public Context<CVMBool> invoke(Context context, ACell[] args)
      Description copied from interface: IFn
      Invoke this function in the given context.
      Specified by:
      invoke in interface IFn<T extends ACell>
      Overrides:
      invoke in class ADataFn<CVMBool>
      Parameters:
      context - Context in which the function is to be executed
      args - Arguments to the function
      Returns:
      Context containing result of function invocation, or an exceptional value
    • print

      public void print(StringBuilder sb)
      Description copied from class: AObject
      Prints this Object to a readable String Representation
      Specified by:
      print in class AObject
      Parameters:
      sb - StringBuilder to append to