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 TypeMethodDescriptionboolean
hasNext()
next()
Returns the nextDavResource
in the iteratorvoid
remove()
int
size()
Returns the size of the initial list.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
hasNext
in interfaceIterator<DavResource>
- See Also:
-
next
- Specified by:
next
in interfaceIterator<DavResource>
- See Also:
-
nextResource
Description copied from interface:DavResourceIterator
Returns the nextDavResource
in the iterator- Specified by:
nextResource
in interfaceDavResourceIterator
- Returns:
- the next
DavResource
- See Also:
-
size
public int size()Returns the size of the initial list.- Specified by:
size
in interfaceDavResourceIterator
- Returns:
- number of elements in the iterator.
- See Also:
-
remove
public void remove()- Specified by:
remove
in interfaceIterator<DavResource>
- See Also:
-