net.sf.staccatocommons.lang.internal
Class Add
java.lang.Object
net.sf.staccatocommons.lang.function.AbstractDelayable<A,B>
net.sf.staccatocommons.lang.function.AbstractFunction<Integer,Integer>
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)
|
| 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 interface net.sf.staccatocommons.defs.Delayable |
delayed, delayedValue |
Add
public Add(int i)
- Parameters:
i -
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-2012 Staccatocommons. All Rights Reserved.