net.sf.staccatocommons.lang.function
Class AbstractFunction3<A,B,C,D>

java.lang.Object
  extended by net.sf.staccatocommons.lang.function.AbstractDelayable3<A,B,C,D>
      extended by net.sf.staccatocommons.lang.function.AbstractFunction3<A,B,C,D>
Type Parameters:
A - function first argument type
B - function second argument type
C - function third argument type
D - function return type
All Implemented Interfaces:
Applicable<A,Function2<B,C,D>>, Applicable2<A,B,Function<C,D>>, Applicable3<A,B,C,D>, Delayable3<A,B,C,D>, Function3<A,B,C,D>, NullSafeAware<Function3<A,B,C,D>>
Direct Known Subclasses:
AbstractFunction3.Soft

public abstract class AbstractFunction3<A,B,C,D>
extends AbstractDelayable3<A,B,C,D>
implements Function3<A,B,C,D>

A three-arguments function

Author:
flbulgarelli
See Also:
AbstractFunction

Nested Class Summary
static class AbstractFunction3.Soft<A,B,C,D>
          AbstractFunction3 that handles exceptions by softening them using SoftException.soften(Throwable)
 
Constructor Summary
AbstractFunction3()
           
 
Method Summary
 Function2<B,C,D> apply(A arg0)
           
 Function<C,D> apply(A arg0, B arg1)
           
 Function3<A,B,C,D> nullSafe()
           
 String toString()
           
 Function<Tuple3<A,B,C>,D> uncurry()
           
 
Methods inherited from class net.sf.staccatocommons.lang.function.AbstractDelayable3
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.function.Function3
apply
 
Methods inherited from interface net.sf.staccatocommons.defs.Delayable3
delayed, delayedValue
 

Constructor Detail

AbstractFunction3

public AbstractFunction3()
Method Detail

nullSafe

public final Function3<A,B,C,D> nullSafe()
Specified by:
nullSafe in interface Function3<A,B,C,D>
Specified by:
nullSafe in interface NullSafeAware<Function3<A,B,C,D>>

apply

public Function<C,D> apply(A arg0,
                           B arg1)
Specified by:
apply in interface Applicable2<A,B,Function<C,D>>
Specified by:
apply in interface Function3<A,B,C,D>

apply

public Function2<B,C,D> apply(A arg0)
Specified by:
apply in interface Applicable<A,Function2<B,C,D>>
Specified by:
apply in interface Function3<A,B,C,D>

uncurry

public Function<Tuple3<A,B,C>,D> uncurry()
Specified by:
uncurry in interface Function3<A,B,C,D>

toString

public String toString()
Overrides:
toString in class Object


Get Staccatocommons at SourceForge.net. Fast, secure and Free Open Source software downloads