org.tigris.gef.util
Interface Functor

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
FunctorIdentity

public interface Functor
extends java.io.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.


Method Summary
 java.lang.Object apply(java.lang.Object x)
           
 

Method Detail

apply

java.lang.Object apply(java.lang.Object x)