|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.stanford.nlp.objectbank.IdentityFunction<X>
public class IdentityFunction<X>
An Identity function that returns its argument.
| Constructor Summary | |
|---|---|
IdentityFunction()
|
|
| Method Summary | |
|---|---|
X |
apply(X o)
Converts a T1 to a different T2. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IdentityFunction()
| Method Detail |
|---|
public X apply(X o)
Function
apply in interface Function<X,X>o - The Object to be returned
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||