ilog.rules.res.persistence.trace

Interface IlrTraceIterator

  • All Superinterfaces:
    java.util.Iterator<IlrDWTrace>


    public interface IlrTraceIterator
    extends java.util.Iterator<IlrDWTrace>
    Acts as a scrollable result set for IlrDWTrace objects. It extends the regular iterator in java.util by adding the ability to:
    • Jump to a given index in the list.
    • Return the total number of elements in the underlying set of IlrDWTrace objects.
    Since:
    7.0
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      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.

© Copyright IBM Corp. 1987, 2020