public final class FunctionN extends Function1
Zephyr Business Solutions Corp.
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
apply(java.lang.Object[] args,
int from,
int len)
Call the function with arguments stored in array args.
|
java.lang.Object |
call(java.lang.Object obj)
Override this method to provide function with one parameter.
|
boolean |
equals(java.lang.Object o) |
static Function |
getFunction(int total,
LamdaN lamdan)
adapt a LamdaN object to a Function object by providing currying
(partial application).
|
int |
hashCode() |
java.lang.String |
toString() |
public static Function getFunction(int total, LamdaN lamdan)
total - the total number of parameters expected.lamdan - the LamdaN object.public java.lang.Object call(java.lang.Object obj)
throws java.lang.Throwable
Function1public java.lang.Object apply(java.lang.Object[] args,
int from,
int len)
Functionpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object