|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ru.yandex.bolts.function.Function<A,R>
public abstract class Function<A,R>
Function
F
,
Transformer
Constructor Summary | |
---|---|
Function()
|
Method Summary | ||
---|---|---|
Comparator<A> |
andThen(Comparator<R> comparator)
Not true function composition |
|
|
andThen(Function<? super R,? extends C> g)
(f andThen g)(x) = g(f(x)) |
|
Function1B<A> |
andThen(Function1B<? super R> g)
|
|
Function1V<A> |
andThen(Function1V<? super R> g)
|
|
Comparator<A> |
andThen(Function2I<R,R> comparator)
(f andThen g)(x) = g(f(x)) |
|
Function1B<A> |
andThenEquals(R value)
|
|
Comparator<A> |
andThenNaturalComparator()
And then null low natural comparator |
|
abstract R |
apply(A a)
|
|
Function0<R> |
bind(A param)
|
|
|
compose(Function<C,A> g)
(f compose g)(x) = f(g(x)) |
|
static
|
constF(B b)
Function that always returns the same value |
|
static
|
identityF()
|
|
Function<A,R> |
ignoreNullF()
Map null to null |
|
Function1V<A> |
ignoreResult()
Ignore result of mapping |
|
static
|
toStringF()
|
|
|
uncheckedCast()
|
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 R apply(A a)
public <C> Function<A,C> andThen(Function<? super R,? extends C> g)
Function.andThen(F, F)
public Function1V<A> andThen(Function1V<? super R> g)
public Function1B<A> andThen(Function1B<? super R> g)
public Comparator<A> andThen(Comparator<R> comparator)
public Comparator<A> andThen(Function2I<R,R> comparator)
public Function1B<A> andThenEquals(R value)
public Comparator<A> andThenNaturalComparator()
public <C> Function<C,R> compose(Function<C,A> g)
Function.compose(F, F)
public Function0<R> bind(A param)
public <B,S> Function<B,S> uncheckedCast()
public Function1V<A> ignoreResult()
public Function<A,R> ignoreNullF()
public static <A> Function<A,A> identityF()
public static <T> Function<T,String> toStringF()
public static <A,B> Function<A,B> constF(B b)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |