Rule Execution Server API

ilog.rules.res.persistence.trace
Interface IlrTraceIterator

All Superinterfaces:
Iterator<IlrDWTrace>

public interface IlrTraceIterator
extends Iterator<IlrDWTrace>

Acts as a scrollable result set for IlrDWTrace objects. It extends the regular iterator in java.util by adding the ability to:

Since:
7.0

Method Summary
 boolean absolute(int index)
          Moves the iterator to the given index.
 boolean relative(int rows)
          Moves the iterator a specific number of rows.
 int size()
          Returns the total number of elements.
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Method Detail

absolute

boolean absolute(int index)
Moves the iterator to the given index.

Parameters:
index - The new position.
Returns:
true if the iterator moves to index.

relative

boolean relative(int rows)
Moves the iterator a specific number of rows.

Parameters:
rows - The number of rows to move.
Returns:
true if the iterator moves to the new position.

size

int size()
Returns the total number of elements.

Returns:
The size of the collection.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2012