com.timeindexing.index
Interface Function


public interface Function

An interface for functions that are passed to filter() and map().

The identity function can be coded as: Function identity = new Function() { public Object evaluate(IndexItem i) { return i; } }


Method Summary
 java.lang.Object evaluate(IndexItem i)
          Evaluate an IndexItem in some way.
 

Method Detail

evaluate

java.lang.Object evaluate(IndexItem i)
Evaluate an IndexItem in some way.

Returns:
an Object, if the function evaluates, null otherwise


Timeindexing 2008