(a)
public interface Fcn<T, R> { 
    public R x(T t); 
} 


(b)
abstract class Executioner<R, T> { 
    public abstract R calls(T arglist); 
} 


(c)
public class Nil { 
    private Nil( ) { }
    public final static Nil INSTANCE = new Nil();
}   

Example 2: (a) Fcn interface; (b) abstract class Executioner; (c) class Nil.

Back to Article