|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--au.com.prunge.jgenfile.impl.AbstractPath.ListPathIterator
An iterator that uses the item list's collection iterator.
Constructor Summary | |
AbstractPath.ListPathIterator(List itemList)
Constructs a ListPathIterator . |
Method Summary | |
boolean |
hasNext()
Returns true if the iteration has more elements. |
au.com.prunge.jgenfile.Directory |
next()
Returns the next directory in the iteration. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractPath.ListPathIterator(List itemList) throws NullPointerException
ListPathIterator
.
itemList
- the list of items to iterate through.
NullPointerException
- if itemList
is null.Method Detail |
public boolean hasNext()
Path.Iterator
hasNext
in interface Path.Iterator
Path.Iterator.hasNext()
public au.com.prunge.jgenfile.Directory next() throws NoSuchElementException
Path.Iterator
next
in interface Path.Iterator
NoSuchElementException
- if there are no more
directories in the iteration.Path.Iterator.next()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |