com.ibm.jarm.api.collection

Interface CBRPageIterator<T>

  • All Superinterfaces:
    RMPageIterator<T>


    public interface CBRPageIterator<T>
    extends RMPageIterator<T>
    A parameterized paging, read-only iterator interface for Content Based Retrieval (CBR) results.
    • Method Detail

      • hasNextPage

        boolean hasNextPage()
        Moves the iterator to the next page of the collection. Call this method first for a newly acquired iterator to move the iterator to the first page of the collection.
        Returns:
        true until the iterator reaches the end of the collection. The interface returns false on the initial call of an empty collection.
      • hasPrevPage

        boolean hasPrevPage()
        Moves the iterator to the previous page of the collection.
        Returns:
        true until the iterator reaches the start of the collection.
      • getNextPage

        java.util.List<T> getNextPage()
        Returns the contents of the iterator's current page.
        Returns:
        A List of the parameterized type.
      • getPrevPage

        java.util.List<T> getPrevPage()
        Returns the contents of the iterator's previous page.
        Returns:
        A List of the parameterized type.

© Copyright IBM Corp. 2010, 2013. All Rights Reserved.