net.sf.jec.functions
Class PercentFunction

java.lang.Object
  extended bynet.sf.jec.Function
      extended bynet.sf.jec.functions.PercentFunction

public class PercentFunction
extends Function

Direct and inverse maps between Date/Timestamps to String objects.

Author:
mballesteros

Constructor Summary
PercentFunction()
          Creates a new instance of PercentFunction
 
Method Summary
 java.lang.Object directMap(java.lang.Object[] objects)
          Direct map: the direct conversion
 java.lang.Object inverseMap(java.lang.Object[] objects)
          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

PercentFunction

public PercentFunction()
Creates a new instance of PercentFunction

Method Detail

inverseMap

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

Specified by:
inverseMap in class Function
Parameters:
objects - The arguments array
Returns:
The result object after applying the inverse map

directMap

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

Specified by:
directMap in class Function
Parameters:
objects - The arguments array
Returns:
The result object after applying the map


Copyright © 2003 SourceForge. All Rights Reserved.