|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hecl.java.NullCmd
public class NullCmd
The NullCmd
class implements the "null" command,
returning an ObjectThing containing 'null'.
Constructor Summary | |
---|---|
NullCmd()
|
Method Summary | |
---|---|
Thing |
cmdCode(Interp interp,
Thing[] argv)
The cmdCode method takes an interpreter and an array of
Things, performs some calculations, and returns a Thing
representing the computed value, or null . |
static void |
load(Interp interp)
|
static void |
unload(Interp interp)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullCmd()
Method Detail |
---|
public Thing cmdCode(Interp interp, Thing[] argv) throws HeclException
Command
cmdCode
method takes an interpreter and an array of
Things, performs some calculations, and returns a Thing
representing the computed value, or null
.
cmdCode
in interface Command
interp
- an Interp
valueargv
- a Thing[]
value
Thing
representing the computed value, or
null
.
HeclException
- if an error occurspublic static void load(Interp interp) throws HeclException
HeclException
public static void unload(Interp interp)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |