Rule Execution Server API

ilog.rules.engine
Interface IlrTupleIterator


Deprecated. As of IBM Decision Server 8.0.1, this interface is deprecated with no replacement.

public interface IlrTupleIterator

This interface specifies a tuple iterator.

The rule language expression that builds an explicit iterator for the sequential algorithm should build an object which is an instance of this interface.


Method Summary
 boolean hasNext()
          Deprecated. Indicates if there is at least one tuple left to be filtered by the sequential algorithm.
 void next(Object[] objects)
          Deprecated. Gets the next tuple to be filtered by the sequential algorithm.
 

Method Detail

hasNext

boolean hasNext()
Deprecated. 

Indicates if there is at least one tuple left to be filtered by the sequential algorithm.

Returns:
The result of the test.

next

void next(Object[] objects)
Deprecated. 

Gets the next tuple to be filtered by the sequential algorithm.

The tuple is simply implemented by an array of objects that should be filled as a side effect by this method. It is guaranteed that the array is already large enough to hold all the objects that makes up a tuple. Whenever an explicit iterator is specified at the rule language level, the structure of the tuple should remain homogeneous. At the rule language level, this particular structure is described by the matchedclasses property. The order of the classes specified in the matchedclasses property is relevant. Each entry in the array of objects (the tuple) should be an instance of the class that has been specified in the matchedclasses property for that particular rank.

Parameters:
objects - The tuple.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013