fp
Class Add

java.lang.Object
  extended by fp.Add
All Implemented Interfaces:
ILambda<java.lang.Integer,java.lang.Integer>

public class Add
extends java.lang.Object
implements ILambda<java.lang.Integer,java.lang.Integer>

Adding two Integers


Field Summary
static Add Singleton
           
 
Constructor Summary
private Add()
           
 
Method Summary
 java.lang.Integer apply(java.lang.Integer... params)
          Adds zero to many Integer.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Singleton

public static final Add Singleton
Constructor Detail

Add

private Add()
Method Detail

apply

public java.lang.Integer apply(java.lang.Integer... params)
Adds zero to many Integer.

Specified by:
apply in interface ILambda<java.lang.Integer,java.lang.Integer>
Parameters:
params - Integer[].
Returns:
Integer

main

public static void main(java.lang.String[] args)