|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object se.lth.cs.nlp.nlputils.core.Function<T1,T2>
public abstract class Function<T1,T2>
A callable one-argument function from T1 to T2.
Field Summary | |
---|---|
protected Object |
in
Initiation parameter. |
Constructor Summary | |
---|---|
Function()
Initiates the function. |
|
Function(Object in)
Initiates the function with a parameter. |
Method Summary | |
---|---|
abstract T2 |
apply(T1 t)
Calls this function. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Object in
Constructor Detail |
---|
public Function()
public Function(Object in)
in
- an initiation parameter.Method Detail |
---|
public abstract T2 apply(T1 t)
t
- the parameter.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |