|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.util.Base
com.tangosol.util.IteratorEnumerator
public class IteratorEnumerator
Provide a implementation of an enumerator based on data from an Iterator.
This has two main uses:
Constructor Summary | |
---|---|
IteratorEnumerator(java.util.Iterator iter) Construct the enumerator based on an Iterator. |
Method Summary | |
---|---|
boolean |
hasMoreElements() Tests if this enumeration contains more elements. |
boolean |
hasNext() Tests if this Iterator contains more elements. |
java.lang.Object |
next() Returns the next element of this Iterator. |
java.lang.Object |
nextElement() Returns the next element of this enumeration. |
void |
remove() Remove the last-returned element that was returned by the Iterator. |
Constructor Detail |
---|
public IteratorEnumerator(java.util.Iterator iter)
iter
- an IteratorMethod Detail |
---|
public boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration
public java.lang.Object nextElement()
nextElement
in interface java.util.Enumeration
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
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |