net.sf.jec
Class Function

java.lang.Object
  extended bynet.sf.jec.Function
Direct Known Subclasses:
CurrencyFunction, DateFunction, PercentFunction

public abstract class Function
extends java.lang.Object

A function is a map between objects.

Author:
mballesteros

Constructor Summary
Function()
           
 
Method Summary
abstract  java.lang.Object directMap(java.lang.Object[] object)
          Direct map: the direct conversion
abstract  java.lang.Object inverseMap(java.lang.Object[] object)
          Inverse map: the inverse conversion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Function

public Function()
Method Detail

directMap

public abstract java.lang.Object directMap(java.lang.Object[] object)
Direct map: the direct conversion

Parameters:
object - The arguments array
Returns:
The result object after applying the map

inverseMap

public abstract java.lang.Object inverseMap(java.lang.Object[] object)
Inverse map: the inverse conversion

Parameters:
object - The arguments array
Returns:
The result object after applying the inverse map


Copyright © 2003 SourceForge. All Rights Reserved.