|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.almendra.janet.cas.demo.fibonacci.FibonacciInterpreter
public class FibonacciInterpreter
Constructor Summary | |
---|---|
FibonacciInterpreter()
|
Method Summary | |
---|---|
protected java.math.BigInteger |
calculateFibonacci(int nthFibonacciNumber)
|
StringVector |
commandNames()
|
void |
execute(CommandAccessor cmdAccessor)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FibonacciInterpreter()
Method Detail |
---|
public void execute(CommandAccessor cmdAccessor)
execute
in interface IInterpreter
org.almendra.commons.cas.node.IInterpreter#execute(org.almendra.commons.cas.node.ICommand,
org.almendra.commons.cas.node.IObjectSpace)
protected java.math.BigInteger calculateFibonacci(int nthFibonacciNumber)
nthFibonacciNumber
-
public StringVector commandNames()
commandNames
in interface IInterpreter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |