Poseidon for UMLTM
  UMLdoc
 PREV      NEXT       FRAMES    NO FRAMES      

com.gentleware.poseidon.util

Interface Functor

com.gentleware.poseidon.util.Functor

public interface Functor


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
public Object   apply(Object x)
 
arrow_up
 

Tagged Values
static false
 

 Method Detail

apply

public Object apply(Object x)

Parameters:
x -
Returns:
arrow_up
Created  2004 - 10 - 21

    Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

Generated with Poseidon for UMLTM.
Poseidon is a registered trademark of Gentleware AG in Germany, USA and other countries. Copyright 2003-2004 Gentleware AG, Schanzenstr. 70, 20357 Hamburg, Germany. All Rights Reserved.

UML is a trademark or registered trademark of Object Management Group, Inc. in the U.S. and other countries.