|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjfun.jaskell.function.Function1
public abstract class Function1
Default implementation of Function. Subclass it to provide function with one parameter.
Zephyr Business Solutions Corp.
| Constructor Summary | |
|---|---|
Function1()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
apply(java.lang.Object[] args)
Call the function with an array of arguments. |
java.lang.Object |
apply(java.lang.Object[] args,
int from,
int len)
Call the function with arguments stored in array args. |
abstract java.lang.Object |
call(java.lang.Object a)
Override this method to provide function with one parameter. |
java.lang.Object |
f(java.lang.Object a)
Call the function with one argument. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Function1()
| Method Detail |
|---|
public java.lang.Object apply(java.lang.Object[] args)
Function
apply in interface Functionargs - the arguments.
public java.lang.Object apply(java.lang.Object[] args,
int from,
int len)
Function
apply in interface Functionargs - the array.from - the starting index of the range.len - the length of the range.
public java.lang.Object f(java.lang.Object a)
Function
f in interface Functiona - the argument.
public abstract java.lang.Object call(java.lang.Object a)
throws java.lang.Throwable
a - the argument.
java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||