|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.sixdml.SixdmlResourceIterator
SixdmlResourceIterator.java This class is used to iterate over a set of resources. Created: Thu Jan 10 22:06:18 2002
| Field Summary | |
private Iterator |
it
The Iterator object that actually holds the Resources. |
| Constructor Summary | |
private |
SixdmlResourceIterator()
Default constructor private to prevent creation of a SixdmlResourceIterator that has no underlying Iterator. |
(package private) |
SixdmlResourceIterator(Iterator it)
Initializes the class using the Iterator passed in as an argument. |
| Method Summary | |
boolean |
hasMoreResources()
Returns true as long as there are still more resources to be iterated. |
static void |
main(String[] args)
Main used for testing class. |
Resource |
nextResource()
Returns the next Resource instance in the iterator. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private Iterator it
| Constructor Detail |
private SixdmlResourceIterator()
SixdmlResourceIterator(Iterator it)
it - an iterator that will be used to initialize this class.| Method Detail |
public boolean hasMoreResources()
hasMoreResources in interface ResourceIteratorpublic Resource nextResource()
nextResource in interface ResourceIteratorpublic static void main(String[] args)
args - IGNORED
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||