|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJSHOP2.Power
class Power
Each code call of the form (call ^ ...)
is
implemented by an object of this class.
Constructor Summary | |
---|---|
Power()
|
Method Summary | |
---|---|
Term |
call(List l)
This function executes the code call and returns the result by raising the first argument to the power of the second one, the result of that to the power of the third argument, and so on. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
Power()
Method Detail |
---|
public Term call(List l)
call
in interface Calculate
l
- the arguments for this code call as a list of terms.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |