jpaul.Misc
Class IdFunction<T>

java.lang.Object
  extended by jpaul.Misc.Function<T,T>
      extended by jpaul.Misc.IdFunction<T>

public class IdFunction<T>
extends Function<T,T>

IdFunction - identity function

Version:
$Id: IdFunction.java,v 1.4 2006/03/14 02:29:31 salcianu Exp $
Author:
Alexandru Salcianu - salcianu@alum.mit.edu

Constructor Summary
IdFunction()
           
 
Method Summary
 T f(T x)
          Takes a TRes and returns a TArg.
 
Methods inherited from class jpaul.Misc.Function
comp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdFunction

public IdFunction()
Method Detail

f

public T f(T x)
Description copied from class: Function
Takes a TRes and returns a TArg. The real function!

Specified by:
f in class Function<T,T>


Copyright 2005 Alexandru Salcianu - salcianu@alum.mit.edu