com.pow2.dao.datalist
Interface DataListIterator

All Known Implementing Classes:
ResultSetDataListIterator

public interface DataListIterator

DataListIterator Interface

Author:
Claudio Fratarcangeli

Method Summary
 boolean hasNext()
          Check if the data list contains another object.
 Object next(Object object)
          Get the next object from the data list
 

Method Detail

hasNext

public boolean hasNext()
                throws Exception
Check if the data list contains another object.

Returns:
true if the data list contains another object, false otherwise
Throws:
Exception - if any error occurs

next

public Object next(Object object)
            throws NoSuchElementException
Get the next object from the data list

Parameters:
object - the object to fill with data
Returns:
the next object from the data list
Throws:
NoSuchElementException - if any error occurs


Copyright © 2002-2004 Power Of Two S.R.L. All Rights Reserved.