|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
T1 - The domain of the functionT2 - The range of the functionpublic interface Function<T1,T2>
An interface for classes that act as a function transforming one object to another.
Implementation note: A function by itself is not serializable.
We do however also provide an interface
SerializableFunction for
the common case of a function that should be Serializable.
| Method Summary | |
|---|---|
T2 |
apply(T1 in)
Converts a T1 to a different T2. |
| Method Detail |
|---|
T2 apply(T1 in)
in - The function's argument
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||