public class DynObjectIteratorRasterInfo extends java.lang.Object implements DisposableIterator
DynObject
implementation to facade a iterator of a WMTSInfo
and allow to be used as a DynObjectSet
iterator.EMPTY_DISPOSABLE_ITERATOR
Constructor and Description |
---|
DynObjectIteratorRasterInfo(java.lang.Object info)
Creates a new DynObjects iterator facade over a feature iterator.
|
Modifier and Type | Method and Description |
---|---|
void |
addObject(java.lang.Object info) |
void |
dispose()
Disposes the current object, to allow it to close and dispose any used
resources.
|
long |
getSize() |
boolean |
hasNext() |
java.lang.Object |
next() |
void |
remove() |
public DynObjectIteratorRasterInfo(java.lang.Object info)
DynObjectWMTSInfo
which allows the Feature
to be
used like a DynObject.featureIterator
- to facadefeatureFacade
- if not null this object will be reused as the facade for the
Feature objects of the feature iteratorpublic void addObject(java.lang.Object info)
public void dispose()
Disposable
NOTE:After calling this method, the object may not be usable anymore.
dispose
in interface Disposable
public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next()
next
in interface java.util.Iterator
public void remove()
remove
in interface java.util.Iterator
public long getSize()