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:
net.sf.staccatocommons.defs.Applicable<A,net.sf.staccatocommons.defs.function.Function2<B,C,D>>, net.sf.staccatocommons.defs.Applicable2<A,B,net.sf.staccatocommons.defs.function.Function<C,D>>, net.sf.staccatocommons.defs.Applicable3<A,B,C,D>, net.sf.staccatocommons.defs.Delayable3<A,B,C,D>, net.sf.staccatocommons.defs.function.Function3<A,B,C,D>, net.sf.staccatocommons.defs.partial.NullSafeAware<net.sf.staccatocommons.defs.function.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 net.sf.staccatocommons.defs.function.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
 net.sf.staccatocommons.defs.function.Function2<B,C,D> apply(A arg0)
           
 net.sf.staccatocommons.defs.function.Function<C,D> apply(A arg0, B arg1)
           
 net.sf.staccatocommons.defs.function.Function3<A,B,C,D> nullSafe()
           
 String toString()
           
 net.sf.staccatocommons.defs.function.Function<net.sf.staccatocommons.defs.tuple.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 net.sf.staccatocommons.defs.function.Function3<A,B,C,D> nullSafe()
Specified by:
nullSafe in interface net.sf.staccatocommons.defs.function.Function3<A,B,C,D>
Specified by:
nullSafe in interface net.sf.staccatocommons.defs.partial.NullSafeAware<net.sf.staccatocommons.defs.function.Function3<A,B,C,D>>

apply

public net.sf.staccatocommons.defs.function.Function<C,D> apply(A arg0,
                                                                B arg1)
Specified by:
apply in interface net.sf.staccatocommons.defs.Applicable2<A,B,net.sf.staccatocommons.defs.function.Function<C,D>>
Specified by:
apply in interface net.sf.staccatocommons.defs.function.Function3<A,B,C,D>

apply

public net.sf.staccatocommons.defs.function.Function2<B,C,D> apply(A arg0)
Specified by:
apply in interface net.sf.staccatocommons.defs.Applicable<A,net.sf.staccatocommons.defs.function.Function2<B,C,D>>
Specified by:
apply in interface net.sf.staccatocommons.defs.function.Function3<A,B,C,D>

uncurry

public net.sf.staccatocommons.defs.function.Function<net.sf.staccatocommons.defs.tuple.Tuple3<A,B,C>,D> uncurry()
Specified by:
uncurry in interface net.sf.staccatocommons.defs.function.Function3<A,B,C,D>

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010-2012 Staccatocommons. All Rights Reserved.