net.sf.cantina
Class ListIterator
java.lang.Object
net.sf.cantina.ListIterator
- Direct Known Subclasses:
- LuceneDocumentSearchHandler
- public abstract class ListIterator
- extends java.lang.Object
- Author:
- Stephane JAIS
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListIterator
public ListIterator()
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.