net.sf.staccatocommons.lang.internal
Class Add

java.lang.Object
  extended by net.sf.staccatocommons.lang.function.AbstractDelayable<A,B>
      extended by net.sf.staccatocommons.lang.function.AbstractFunction<Integer,Integer>
          extended by net.sf.staccatocommons.lang.internal.Add
All Implemented Interfaces:
net.sf.staccatocommons.defs.Applicable<Integer,Integer>, net.sf.staccatocommons.defs.Delayable<Integer,Integer>, net.sf.staccatocommons.defs.function.Function<Integer,Integer>, net.sf.staccatocommons.defs.partial.NullSafeAware<net.sf.staccatocommons.defs.function.Function<Integer,Integer>>

public final class Add
extends AbstractFunction<Integer,Integer>

Author:
flbulgarelli

Constructor Summary
Add(int i)
           
 
Method Summary
static net.sf.staccatocommons.defs.function.Function<Integer,Integer> add(int i)
           
 Integer apply(Integer arg)
           
static net.sf.staccatocommons.defs.function.Function<Integer,Integer> one()
           
 
Methods inherited from class net.sf.staccatocommons.lang.function.AbstractFunction
equal, isIdentity, notNull, null_, nullSafe, of, of, of, same, then, then, then, 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.Delayable
delayed, delayedValue
 

Constructor Detail

Add

public Add(int i)
Parameters:
i -
Method Detail

apply

public Integer apply(Integer arg)

add

public static net.sf.staccatocommons.defs.function.Function<Integer,Integer> add(int i)
Parameters:
i -

one

@Constant
public static net.sf.staccatocommons.defs.function.Function<Integer,Integer> one()
Returns:
add(1)


Copyright © 2010-2011 Staccato-Commons. All Rights Reserved.