/** * Represents the identity map. Null-object pattern for ILambda. * @author Dung X. Nguyen */ public class NoOpLambda implements ILambda { public static final NoOpLambda Singleton = new NoOpLambda (); private NoOpLambda() { } public Object apply (Object arg) { return arg; } }