gnu.mapping

Class Setter1

Implemented Interfaces:
Named

public class Setter1
extends Setter

A special case of Setter, retricted to one argument (plus the RHS).

Field Summary

Fields inherited from class gnu.mapping.Setter

getter

Fields inherited from class gnu.mapping.ProcedureN

noArgs

Constructor Summary

Setter1(Procedure getter)

Method Summary

Object
apply2(Object arg, Object value)
Object
applyN(Object[] args)
int
numArgs()

Methods inherited from class gnu.mapping.Setter

applyN, 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, getSetter, getSourceLocation, match0, match1, match2, match3, match4, matchN, maxArgs, minArgs, numArgs, set0, set1, setN, setSetter, setSourceLocation, toString

Methods inherited from class gnu.mapping.PropertySet

getName, getProperty, getSymbol, removeProperty, setName, setProperty, setProperty, setSymbol

Constructor Details

Setter1

public Setter1(Procedure getter)

Method Details

apply2

public Object apply2(Object arg,
                     Object value)
            throws Throwable
Overrides:
apply2 in interface ProcedureN

applyN

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

numArgs

public int numArgs()
Overrides:
numArgs in interface Setter