com.arjuna.ats.arjuna.objectstore
Class ObjectStoreIterator

java.lang.Object
  extended bycom.arjuna.ats.arjuna.objectstore.ObjectStoreIterator

public class ObjectStoreIterator
extends java.lang.Object

Class that allows us to iterate through instances of objects that may be stored within a specific object store.


Constructor Summary
ObjectStoreIterator(ObjectStore store, java.lang.String tName)
           
 
Method Summary
 Uid iterate()
          return the Uids from the list one at a time.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectStoreIterator

public ObjectStoreIterator(ObjectStore store,
                           java.lang.String tName)
Method Detail

iterate

public final Uid iterate()
return the Uids from the list one at a time. ObjStore returns either null list or a list terminated by the NIL_UID. Use the latter to return 0 (for end of list)