|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.monad.homerun.function.math.Sum
public class Sum
Sum returns the total value of its arguments.
Constructor Summary | |
---|---|
Sum()
|
Method Summary | |
---|---|
Value |
eval(java.util.List<Value> args)
Returns the sum of the arguments. |
java.lang.String |
getName()
Returns the name of the function |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Sum()
Method Detail |
---|
public java.lang.String getName()
Function
getName
in interface Function
public Value eval(java.util.List<Value> args)
eval
in interface Function
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |