net.sf.cantina
Class ListIterator

java.lang.Object
  extended bynet.sf.cantina.ListIterator
Direct Known Subclasses:
LuceneDocumentSearchHandler

public abstract class ListIterator
extends java.lang.Object

Author:
Stephane JAIS

Constructor Summary
ListIterator()
           
 
Method Summary
abstract  java.lang.Object getElementAt(int index)
           
 int getIndex()
           
 java.util.List getNextElements(int count)
           
 java.util.List getPreviousElements(int count)
           
abstract  int getSize()
           
 int getTotalPages(int pageSize)
           
 boolean hasNext()
           
 boolean hasPrevious()
           
 java.lang.Object next()
           
 java.lang.Object previous()
           
 void resetIndex()
           
 void skipToPage(int pageSize, int pageNumber)
           
protected  java.util.List subList(int startIndex, int stopIndex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListIterator

public ListIterator()
Method Detail

getElementAt

public abstract java.lang.Object getElementAt(int index)
                                       throws java.lang.Exception
Throws:
java.lang.Exception

getSize

public abstract int getSize()

next

public java.lang.Object next()
                      throws java.lang.Exception
Throws:
java.lang.Exception

previous

public java.lang.Object previous()
                          throws java.lang.Exception
Throws:
java.lang.Exception

skipToPage

public void skipToPage(int pageSize,
                       int pageNumber)

getTotalPages

public int getTotalPages(int pageSize)

subList

protected java.util.List subList(int startIndex,
                                 int stopIndex)

getPreviousElements

public java.util.List getPreviousElements(int count)

getNextElements

public java.util.List getNextElements(int count)

resetIndex

public void resetIndex()

getIndex

public int getIndex()

hasNext

public boolean hasNext()

hasPrevious

public boolean hasPrevious()


Copyright © 2004 Cantina. All Rights Reserved.