|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-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(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. |
Object |
next() Returns the next element of this Iterator. |
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(Iterator iter)
iter
- an IteratorMethod Detail |
---|
public boolean hasMoreElements()
hasMoreElements
in interface Enumeration
public Object nextElement()
nextElement
in interface Enumeration
public boolean hasNext()
hasNext
in interface Iterator
public Object next()
next
in interface Iterator
public void remove()
remove
in interface Iterator
|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |