|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjfun.jaskell.function.Function1
jfun.jaskell.function.Function3
jfun.jaskell.StrictFunction3
public abstract class StrictFunction3
extend this class to provide a strict function implementation.
Subclassing this class is more efficient than calling addStrictFunction.
A strict function is a function whose arguments are
evaluated before the function body is evaluated.
Zephyr Business Solutions Corp.
| Constructor Summary | |
|---|---|
StrictFunction3(java.lang.String name)
Create a StrictFunction3 object. |
|
| Method Summary | |
|---|---|
java.lang.Object |
call(java.lang.Object a,
java.lang.Object b,
java.lang.Object c)
Override this method to provide function with three parameters. |
abstract java.lang.Object |
fn(java.lang.Object a,
java.lang.Object b,
java.lang.Object c)
Subclass override this method to provide the function implementation. |
java.lang.String |
getName()
get the string representation of this function. |
java.lang.String |
toString()
Returns the string representation. |
| Methods inherited from class jfun.jaskell.function.Function3 |
|---|
call |
| Methods inherited from class jfun.jaskell.function.Function1 |
|---|
apply, apply, f |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StrictFunction3(java.lang.String name)
name - the string representation of this function.| Method Detail |
|---|
public abstract java.lang.Object fn(java.lang.Object a,
java.lang.Object b,
java.lang.Object c)
throws java.lang.Throwable
a - 1st argument.b - 2nd argument.c - 3rd argument.
java.lang.Throwable
public final java.lang.Object call(java.lang.Object a,
java.lang.Object b,
java.lang.Object c)
throws java.lang.Throwable
Function3
call in class Function3a - 1st argument.b - 2nd argument.c - 3rd argument.
java.lang.Throwablepublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||