com.jinfonet.jdbc.obj
Interface JIterator


public interface JIterator

A JIterator over a JCollection. JIterator returns each row of the resultset.


Method Summary
 boolean hasNext()
          Returns true if the JIterator has more elements.
 java.lang.Object next()
          Returns the next element in the JIterator.
 

Method Detail

hasNext

boolean hasNext()
Returns true if the JIterator has more elements. (In other words, returns true if next would rather return an element than throw an exception.)

Returns:
true if the JIterator has more elements.

next

java.lang.Object next()
Returns the next element in the JIterator.