|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.staccatocommons.lang.function.AbstractDelayable<A,B>
net.sf.staccatocommons.lang.function.AbstractFunction<A,B>
A - function argument typeB - function return typepublic abstract class AbstractFunction<A,B>
| Nested Class Summary | |
|---|---|
static class |
AbstractFunction.Soft<A,B>
AbstractFunction that handles exceptions by softening them using
SoftException.soften(Throwable) |
| Constructor Summary | |
|---|---|
AbstractFunction()
|
|
| Method Summary | ||
|---|---|---|
net.sf.staccatocommons.defs.predicate.Predicate<A> |
equal(B object)
Deprecated. |
|
net.sf.staccatocommons.defs.predicate.Predicate<A> |
is(net.sf.staccatocommons.defs.predicate.Predicate<? super B> other)
|
|
net.sf.staccatocommons.defs.predicate.Predicate<A> |
isEqual(B object)
equivalent to then(Predicates.equal(object)) |
|
boolean |
isIdentity()
|
|
net.sf.staccatocommons.defs.predicate.Predicate<A> |
isNotNull()
equivalent to then(Predicates.notNull()); |
|
net.sf.staccatocommons.defs.predicate.Predicate<A> |
isNull()
then(Predicates.null_()) |
|
net.sf.staccatocommons.defs.predicate.Predicate<A> |
isSame(B object)
equivalent to then(Predicates.same(object)) |
|
net.sf.staccatocommons.defs.predicate.Predicate<A> |
notNull()
Deprecated. Use isNotNull() instead |
|
net.sf.staccatocommons.defs.predicate.Predicate<A> |
null_()
Deprecated. Use isNull() instead |
|
net.sf.staccatocommons.defs.function.Function<A,B> |
nullSafe()
|
|
|
of(net.sf.staccatocommons.defs.Applicable<? super C,? extends A> other)
|
|
|
of(net.sf.staccatocommons.defs.Applicable2<Tp1,Tp2,? extends A> other)
|
|
|
of(net.sf.staccatocommons.defs.Applicable3<Tp1,Tp2,Tp3,? extends A> other)
|
|
net.sf.staccatocommons.defs.predicate.Predicate<A> |
same(B object)
Deprecated. |
|
|
then(net.sf.staccatocommons.defs.function.Function<? super B,? extends C> other)
|
|
|
then(net.sf.staccatocommons.defs.function.Function2<B,B2,C> combinator,
net.sf.staccatocommons.defs.function.Function<? super A2,? extends B2> other)
|
|
net.sf.staccatocommons.defs.predicate.Predicate<A> |
then(net.sf.staccatocommons.defs.predicate.Predicate<? super B> other)
Deprecated. Use is(Predicate) instead |
|
String |
toString()
|
|
| Methods inherited from class net.sf.staccatocommons.lang.function.AbstractDelayable |
|---|
delayed, delayedValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface net.sf.staccatocommons.defs.Applicable |
|---|
apply |
| Methods inherited from interface net.sf.staccatocommons.defs.Delayable |
|---|
delayed, delayedValue |
| Constructor Detail |
|---|
public AbstractFunction()
| Method Detail |
|---|
@NonNull
public <C> net.sf.staccatocommons.defs.function.Function<C,B> of(@NonNull
net.sf.staccatocommons.defs.Applicable<? super C,? extends A> other)
of in interface net.sf.staccatocommons.defs.function.Function<A,B>
@NonNull
public <Tp1,Tp2> net.sf.staccatocommons.defs.function.Function2<Tp1,Tp2,B> of(@NonNull
net.sf.staccatocommons.defs.Applicable2<Tp1,Tp2,? extends A> other)
of in interface net.sf.staccatocommons.defs.function.Function<A,B>
@NonNull
public <Tp1,Tp2,Tp3> net.sf.staccatocommons.defs.function.Function3<Tp1,Tp2,Tp3,B> of(@NonNull
net.sf.staccatocommons.defs.Applicable3<Tp1,Tp2,Tp3,? extends A> other)
of in interface net.sf.staccatocommons.defs.function.Function<A,B>@NonNull public net.sf.staccatocommons.defs.function.Function<A,B> nullSafe()
nullSafe in interface net.sf.staccatocommons.defs.function.Function<A,B>nullSafe in interface net.sf.staccatocommons.defs.partial.NullSafeAware<net.sf.staccatocommons.defs.function.Function<A,B>>
public <C> net.sf.staccatocommons.defs.function.Function<A,C> then(@NonNull
net.sf.staccatocommons.defs.function.Function<? super B,? extends C> other)
then in interface net.sf.staccatocommons.defs.function.Function<A,B>
public net.sf.staccatocommons.defs.predicate.Predicate<A> then(@NonNull
net.sf.staccatocommons.defs.predicate.Predicate<? super B> other)
is(Predicate) instead
then in interface net.sf.staccatocommons.defs.function.Function<A,B>
public net.sf.staccatocommons.defs.predicate.Predicate<A> is(@NonNull
net.sf.staccatocommons.defs.predicate.Predicate<? super B> other)
is in interface net.sf.staccatocommons.defs.function.Function<A,B>public net.sf.staccatocommons.defs.predicate.Predicate<A> isEqual(B object)
isEqual in interface net.sf.staccatocommons.defs.function.Function<A,B>public net.sf.staccatocommons.defs.predicate.Predicate<A> equal(B object)
equal in interface net.sf.staccatocommons.defs.function.Function<A,B>public net.sf.staccatocommons.defs.predicate.Predicate<A> isSame(B object)
isSame in interface net.sf.staccatocommons.defs.function.Function<A,B>public net.sf.staccatocommons.defs.predicate.Predicate<A> same(B object)
same in interface net.sf.staccatocommons.defs.function.Function<A,B>public net.sf.staccatocommons.defs.predicate.Predicate<A> notNull()
isNotNull() instead
notNull in interface net.sf.staccatocommons.defs.function.Function<A,B>public net.sf.staccatocommons.defs.predicate.Predicate<A> isNotNull()
isNotNull in interface net.sf.staccatocommons.defs.function.Function<A,B>public net.sf.staccatocommons.defs.predicate.Predicate<A> null_()
isNull() instead
null_ in interface net.sf.staccatocommons.defs.function.Function<A,B>public net.sf.staccatocommons.defs.predicate.Predicate<A> isNull()
isNull in interface net.sf.staccatocommons.defs.function.Function<A,B>
public <A2,B2,C> net.sf.staccatocommons.defs.function.Function2<A,A2,C> then(net.sf.staccatocommons.defs.function.Function2<B,B2,C> combinator,
net.sf.staccatocommons.defs.function.Function<? super A2,? extends B2> other)
then in interface net.sf.staccatocommons.defs.function.Function<A,B>public String toString()
toString in class Objectpublic boolean isIdentity()
isIdentity in interface net.sf.staccatocommons.defs.function.Function<A,B>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||