FREE Subscription to Dr. Dobb’s Digest: Same Great Content, New Digital Edition
Site Archive (Complete)
Java
Email
Print
Reprint

add to:
Del.icio.us
Digg
Google
Furl
Slashdot
Y! MyWeb
Blink
November 01, 2005

Functional Programming in Java

(Page 3 of 3)
November, 2005: Functional Programming in Java

(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.

Previous Page | 1 | 2 | 3
TOP 5 ARTICLES
No Top Articles.



MICROSITES
FEATURED TOPIC

ADDITIONAL TOPICS

INFO-LINK