gnu.mapping

Class Setter

Implemented Interfaces:
Named
Known Direct Subclasses:
Setter0, Setter1

public class Setter
extends ProcedureN

The "setter" of procedure that can be used in the LHS of an assignment.

Field Summary

Fields inherited from class gnu.mapping.ProcedureN

noArgs

Constructor Summary

Setter(Procedure getter)

Method Summary

Object
applyN(Object[] args)
int
numArgs()

Methods inherited from class gnu.mapping.ProcedureN

apply0, apply1, apply2, apply3, apply4, applyN

Methods inherited from class gnu.mapping.Procedure

apply, apply, apply0, apply1, apply2, apply3, apply4, applyN, check0, check1, check2, check3, check4, checkArgCount, checkN, getName, getProperty, getSetter, getSymbol, match0, match1, match2, match3, match4, matchN, maxArgs, minArgs, name, numArgs, removeProperty, set0, set1, setN, setName, setProperty, setProperty, setSetter, setSymbol, toString

Constructor Details

Setter

public Setter(Procedure getter)

Method Details

applyN

public Object applyN(Object[] args)
            throws Throwable
Overrides:
applyN in interface ProcedureN

numArgs

public int numArgs()
Overrides:
numArgs in interface Procedure