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, wait
forEachRemaining
public 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()
DavResourceIterator
DavResource
in the iteratornextResource
in interface DavResourceIterator
DavResource
DavResourceIterator.nextResource()
public int size()
size
in interface DavResourceIterator
DavResourceIterator.size()
public void remove()
remove
in interface Iterator<DavResource>
Iterator.remove()
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.