org.hecl
Class Operator
- java.lang.Object
-
- org.hecl.Operator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description ThingcmdCode(Interp interp, Thing[] argv)ThecmdCodemethod dispatches to the actual code via the operate method and cmdcode argument.abstract Thingoperate(int cmdcode, Interp interp, Thing[] argv)Theoperatemethod dispatches to the actual code.
-
-
-
Method Detail
-
cmdCode
public Thing cmdCode(Interp interp, Thing[] argv) throws HeclException
ThecmdCodemethod dispatches to the actual code via the operate method and cmdcode argument.- Specified by:
cmdCodein interfaceCommand- Parameters:
interp- anInterpvalueargv- aThing[]value- Returns:
- The computed
Thing, or null when no value has been computed. - Throws:
HeclException- if an error occurs
-
operate
public abstract Thing operate(int cmdcode, Interp interp, Thing[] argv) throws HeclException
Theoperatemethod dispatches to the actual code.- Parameters:
cmdcode- anintvalueinterp- anInterpvalueargv- aThing[]value- Returns:
- a
Thingvalue, or null when no value has been - Throws:
HeclException- if an error occurs
-
-
DataMelt 3.0 © DataMelt by jWork.ORG