public class DavResourceIteratorImpl extends Object implements DavResourceIterator
DavResourceIteratorImpl implementation of the DavResourceIterator
interface.remove() is not implemented.| Modifier and Type | Field and Description |
|---|---|
static DavResourceIterator |
EMPTY |
| Constructor and Description |
|---|
DavResourceIteratorImpl(List<DavResource> list)
Create a new DavResourceIterator from the specified list.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
DavResource |
next() |
DavResource |
nextResource()
Returns the next
DavResource in the iterator |
void |
remove() |
int |
size()
Returns the size of the initial list.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic static final DavResourceIterator EMPTY
public DavResourceIteratorImpl(List<DavResource> list)
list - public boolean hasNext()
hasNext in interface Iterator<DavResource>Iterator.hasNext()public DavResource next()
next in interface Iterator<DavResource>Iterator.next()public DavResource nextResource()
DavResourceIteratorDavResource in the iteratornextResource in interface DavResourceIteratorDavResourceDavResourceIterator.nextResource()public int size()
size in interface DavResourceIteratorDavResourceIterator.size()public void remove()
remove in interface Iterator<DavResource>Iterator.remove()Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.