E - : Typepublic class CloseableIteratorGeneric<E> extends Object implements CloseableIterator<Object>
| Constructor and Description |
|---|
CloseableIteratorGeneric(Iterator<E> pIterator)
Ctor.
|
CloseableIteratorGeneric(Iterator<E> pIterator,
WBEMException pException)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the
Iterator. |
WBEMException |
getWBEMException()
Returns WBEMException
|
boolean |
hasNext() |
Object |
next() |
void |
remove()
iterator.remove() is not supported
|
public CloseableIteratorGeneric(Iterator<E> pIterator, WBEMException pException)
pIterator - : Iterator to be used in closeableIteratorpException - : WBEMException thrown by parser (this can be null)public void close()
CloseableIteratorIterator. This allows the underlying
implementation to do any cleanup and disconnect from any source that it
may be using.close in interface CloseableIterator<Object>public WBEMException getWBEMException()
getWBEMException in interface CloseableIterator<Object>Copyright © 2005, 2012 IBM Corporation. All Rights Reserved.