|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sblim.cimclient.internal.wbem.CloseableIteratorGeneric<E>
E
- : Typepublic class CloseableIteratorGeneric<E>
Class CloseableIteratorGeneric creates new CloseableIterator from an Iterator and WBEMException.
Constructor Summary | |
---|---|
CloseableIteratorGeneric(java.util.Iterator<E> pIterator)
Ctor. |
|
CloseableIteratorGeneric(java.util.Iterator<E> pIterator,
WBEMException pException)
Ctor. |
Method Summary | |
---|---|
void |
close()
Closes the Iterator . |
WBEMException |
getWBEMException()
Returns WBEMException |
boolean |
hasNext()
|
java.lang.Object |
next()
|
void |
remove()
iterator.remove() is not supported |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CloseableIteratorGeneric(java.util.Iterator<E> pIterator, WBEMException pException)
pIterator
- : Iterator to be used in closeableIteratorpException
- : WBEMException thrown by parser (this can be null)public CloseableIteratorGeneric(java.util.Iterator<E> pIterator)
pIterator
- : Iterator to be used in closeableIteratorMethod Detail |
---|
public void close()
CloseableIterator
Iterator
. This allows the underlying
implementation to do any cleanup and disconnect from any source that it
may be using.
close
in interface CloseableIterator<java.lang.Object>
public WBEMException getWBEMException()
getWBEMException
in interface CloseableIterator<java.lang.Object>
public boolean hasNext()
hasNext
in interface java.util.Iterator<java.lang.Object>
public java.lang.Object next()
next
in interface java.util.Iterator<java.lang.Object>
public void remove()
remove
in interface java.util.Iterator<java.lang.Object>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |