net.sf.staccatocommons.lang.function
Class AbstractFunction2<A,B,C>
java.lang.Object
net.sf.staccatocommons.lang.function.AbstractDelayable2<A,B,C>
net.sf.staccatocommons.lang.function.AbstractFunction2<A,B,C>
- Type Parameters:
A - function first argument typeB - function second argument typeC - function return type
- All Implemented Interfaces:
- net.sf.staccatocommons.defs.Applicable<A,net.sf.staccatocommons.defs.function.Function<B,C>>, net.sf.staccatocommons.defs.Applicable2<A,B,C>, net.sf.staccatocommons.defs.Delayable2<A,B,C>, net.sf.staccatocommons.defs.function.Function2<A,B,C>, net.sf.staccatocommons.defs.partial.NullSafeAware<net.sf.staccatocommons.defs.function.Function2<A,B,C>>
- Direct Known Subclasses:
- AbstractFunction2.Soft
public abstract class AbstractFunction2<A,B,C>
- extends AbstractDelayable2<A,B,C>
- implements net.sf.staccatocommons.defs.function.Function2<A,B,C>
- Author:
- flbulgarelli
|
Method Summary |
net.sf.staccatocommons.defs.function.Function<B,C> |
apply(A arg0)
|
net.sf.staccatocommons.defs.function.Function2<B,A,C> |
flip()
|
net.sf.staccatocommons.defs.function.Function2<A,B,C> |
nullSafe()
|
<D> net.sf.staccatocommons.defs.function.Function2<D,B,C> |
|
of(net.sf.staccatocommons.defs.Applicable<? super D,? extends A> function)
|
<D> net.sf.staccatocommons.defs.function.Function2<A,B,D> |
|
then(net.sf.staccatocommons.defs.function.Function<? super C,? extends D> other)
|
<A2,B2,D> net.sf.staccatocommons.defs.function.Function3<A,B,A2,D> |
|
then(net.sf.staccatocommons.defs.function.Function2<C,B2,D> combinator,
net.sf.staccatocommons.defs.function.Function<? super A2,? extends B2> other)
|
String |
toString()
|
net.sf.staccatocommons.defs.function.Function<net.sf.staccatocommons.defs.tuple.Tuple2<A,B>,C> |
uncurry()
|
| Methods inherited from interface net.sf.staccatocommons.defs.function.Function2 |
apply |
| Methods inherited from interface net.sf.staccatocommons.defs.Delayable2 |
delayed, delayedValue |
AbstractFunction2
public AbstractFunction2()
apply
@NonNull
public net.sf.staccatocommons.defs.function.Function<B,C> apply(A arg0)
- Specified by:
apply in interface net.sf.staccatocommons.defs.Applicable<A,net.sf.staccatocommons.defs.function.Function<B,C>>- Specified by:
apply in interface net.sf.staccatocommons.defs.function.Function2<A,B,C>
flip
public net.sf.staccatocommons.defs.function.Function2<B,A,C> flip()
- Specified by:
flip in interface net.sf.staccatocommons.defs.function.Function2<A,B,C>
nullSafe
public final net.sf.staccatocommons.defs.function.Function2<A,B,C> nullSafe()
- Specified by:
nullSafe in interface net.sf.staccatocommons.defs.function.Function2<A,B,C>- Specified by:
nullSafe in interface net.sf.staccatocommons.defs.partial.NullSafeAware<net.sf.staccatocommons.defs.function.Function2<A,B,C>>
of
public <D> net.sf.staccatocommons.defs.function.Function2<D,B,C> of(@NonNull
net.sf.staccatocommons.defs.Applicable<? super D,? extends A> function)
- Specified by:
of in interface net.sf.staccatocommons.defs.function.Function2<A,B,C>
then
public <A2,B2,D> net.sf.staccatocommons.defs.function.Function3<A,B,A2,D> then(@NonNull
net.sf.staccatocommons.defs.function.Function2<C,B2,D> combinator,
@NonNull
net.sf.staccatocommons.defs.function.Function<? super A2,? extends B2> other)
- Specified by:
then in interface net.sf.staccatocommons.defs.function.Function2<A,B,C>
then
public <D> net.sf.staccatocommons.defs.function.Function2<A,B,D> then(net.sf.staccatocommons.defs.function.Function<? super C,? extends D> other)
- Specified by:
then in interface net.sf.staccatocommons.defs.function.Function2<A,B,C>
uncurry
public net.sf.staccatocommons.defs.function.Function<net.sf.staccatocommons.defs.tuple.Tuple2<A,B>,C> uncurry()
- Specified by:
uncurry in interface net.sf.staccatocommons.defs.function.Function2<A,B,C>
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2010-2012 Staccatocommons. All Rights Reserved.