Package gnu.mapping

Class Setter

All Implemented Interfaces:
Named
Direct Known Subclasses:
NamedPart.Setter, Setter0, Setter1

public class Setter extends ProcedureN
The "setter" of procedure that can be used in the LHS of an assignment.
  • Field Details

  • Constructor Details

  • Method Details

    • numArgs

      public int numArgs()
      Description copied from class: Procedure
      Return minArgs()|(maxArgs<<12). We use a single virtual function to reduce the number of methods in the system, as well as the number of virtual method table entries. We shift by 12 so the number can normally be represented using a sipush instruction, without requiring a constant pool entry.
      Overrides:
      numArgs in class Procedure
    • applyN

      public Object applyN(Object[] args) throws Throwable
      Overrides:
      applyN in class Procedure
      Throws:
      Throwable