net.sf.oness.common.model.util
Class PaginatedListIterator

java.lang.Object
  extended bynet.sf.oness.common.all.BaseObject
      extended bynet.sf.oness.common.model.util.PaginatedListIterator
All Implemented Interfaces:
java.lang.Cloneable, java.util.Iterator, java.io.Serializable

public class PaginatedListIterator
extends net.sf.oness.common.all.BaseObject
implements java.util.Iterator

Version:
$Revision: 1.2 $
Author:
Carlos Sanchez
See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.sf.oness.common.all.BaseObject
log
 
Constructor Summary
PaginatedListIterator(PaginatedList list)
           
 
Method Summary
 boolean hasNext()
           
 java.lang.Object next()
          This method follows the rules of Iterator.next() except that it returns null when requesting an element that it's not in the current page.
 void remove()
          Unsupported operation
 
Methods inherited from class net.sf.oness.common.all.BaseObject
clone, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PaginatedListIterator

public PaginatedListIterator(PaginatedList list)
Parameters:
list -
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator
See Also:
Iterator.hasNext()

next

public java.lang.Object next()
This method follows the rules of Iterator.next() except that it returns null when requesting an element that it's not in the current page.

Specified by:
next in interface java.util.Iterator
See Also:
Iterator.next()

remove

public void remove()
Unsupported operation

Specified by:
remove in interface java.util.Iterator
Throws:
java.lang.UnsupportedOperationException
See Also:
Iterator.remove()


Copyright © 2003-2005 ONess Project. All Rights Reserved.