WPI GDC CMS 0.0.1

org.wpi.gdc.cms.db
Interface DBIterator

All Superinterfaces:
java.util.Iterator

public interface DBIterator
extends java.util.Iterator

Almost identical to an Iterator, this contains one method used to signal that even though there are still items left to be retrieved, the caller no longer wishes to receive them.

Version:
1.3
Author:
dmpotter

Method Summary
 boolean canRemove()
          Returns true if the Iterator supports the remove() call, false if it does not.
 void done()
          Indicates that the caller is done with this iterator and no longer requires results from it.
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Method Detail

done

public void done()
Indicates that the caller is done with this iterator and no longer requires results from it. Calls to hasMoreElements() should return false after this call.

canRemove

public boolean canRemove()
Returns true if the Iterator supports the remove() call, false if it does not.
Returns:
true if the Iterator supports the remove() call, false if it does not.

WPI GDC CMS 0.0.1

Copyright © 2001 WPI Game Development Club. All Rights Reserved.