|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.ens_cachan.dptinfo.util.Function<A,B>
public abstract class Function<A,B>
An interface for generic functions from type A
to type
B
.
Constructor Summary | |
---|---|
Function()
|
Method Summary | ||
---|---|---|
abstract B |
call(A a)
Calls this Function . |
|
|
compose(Function<? super B,C> f)
Composes this Function with another one. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Function()
Method Detail |
---|
public abstract B call(A a)
Function
.
a
- the argument to this function.
a
.public <C> Function<A,C> compose(Function<? super B,C> f)
Function
with another one.
f
- another Function
.
this o f
.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |