public class DavResourceIteratorImpl extends java.lang.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(java.util.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.
|
public static final DavResourceIterator EMPTY
public DavResourceIteratorImpl(java.util.List<DavResource> list)
list
- public boolean hasNext()
hasNext
in interface java.util.Iterator<DavResource>
Iterator.hasNext()
public DavResource next()
next
in interface java.util.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 java.util.Iterator<DavResource>
Iterator.remove()
Copyright © 2010 - 2020 Adobe. All Rights Reserved