Package org.apache.jackrabbit.webdav
Class DavResourceIteratorImpl
java.lang.Object
org.apache.jackrabbit.webdav.DavResourceIteratorImpl
- All Implemented Interfaces:
Iterator<DavResource>,DavResourceIterator
DavResourceIteratorImpl implementation of the DavResourceIterator
interface.NOTE:
remove() is not implemented.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new DavResourceIterator from the specified list. -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasNext()next()Returns the nextDavResourcein the iteratorvoidremove()intsize()Returns the size of the initial list.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
EMPTY
-
-
Constructor Details
-
DavResourceIteratorImpl
Create a new DavResourceIterator from the specified list.- Parameters:
list-
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIterator<DavResource>- See Also:
-
next
- Specified by:
nextin interfaceIterator<DavResource>- See Also:
-
nextResource
Description copied from interface:DavResourceIteratorReturns the nextDavResourcein the iterator- Specified by:
nextResourcein interfaceDavResourceIterator- Returns:
- the next
DavResource - See Also:
-
size
public int size()Returns the size of the initial list.- Specified by:
sizein interfaceDavResourceIterator- Returns:
- number of elements in the iterator.
- See Also:
-
remove
public void remove()- Specified by:
removein interfaceIterator<DavResource>- See Also:
-