uci.util
Interface Functor

All Known Implementing Classes:
FunctorIdentity

public abstract interface Functor
extends Serializable

Interface to define Functor objects. Functor's are described in many papers and books about design patterns or coding idioms. They are basically functions, but implemented as instances of a class with only one method. That allows passing the Functor object around, whereas Java does not allow any operations on functions.


Field Summary
static long serialVersionUID
           
 
Fields inherited from class java.io.Serializable
serialVersionUID
 
Method Summary
 Object apply(Object x)
           
 

Field Detail

serialVersionUID

public static final long serialVersionUID
Method Detail

apply

public Object apply(Object x)