Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.odbms
Interface ObjectSet  view ObjectSet download ObjectSet.java


public interface ObjectSet

query resultset.

The ObjectSet interface providedes iterator functions to navigate through a set of objects retrieved by a query.


Method Summary
 boolean hasNext()
          returns true if the ObjectSet has more elements.
 java.lang.Object next()
          returns the next object in the ObjectSet.
 void reset()
          resets the ObjectSet cursor before the first element.
 int size()
          returns the number of elements in the ObjectSet.
 

Method Detail

hasNext

public boolean hasNext()
returns true if the ObjectSet has more elements.


next

public java.lang.Object next()
returns the next object in the ObjectSet.


reset

public void reset()
resets the ObjectSet cursor before the first element.

A subsequent call to next() will return the first element.


size

public int size()
returns the number of elements in the ObjectSet.