|
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.WrapperCollections.AbstractWrapperIterator
public abstract static class WrapperCollections.AbstractWrapperIterator
Iterator implementation which delegates all calls to another Iterator.
Field Summary | |
---|---|
protected Iterator |
m_iterDelegate The Iterator to which this wrapper delegates. |
Constructor Summary | |
---|---|
protected |
WrapperCollections.AbstractWrapperIterator(Iterator iter) Create an AbstractWrapperIterator which delegates to the specified Iterator. |
Method Summary | |
---|---|
boolean |
equals(Object o) |
protected Iterator |
getDelegate() Return the Iterator to which all operations should be delegated to. |
int |
hashCode() |
boolean |
hasNext() Returns true if the iteration has more elements. |
Object |
next() Returns the next element in the iteration. |
void |
remove() Removes from the underlying collection the last element returned by the iterator (optional operation). |
Field Detail |
---|
protected Iterator m_iterDelegate
Constructor Detail |
---|
protected WrapperCollections.AbstractWrapperIterator(Iterator iter)
iter
- the Iterator to delegate all calls toMethod Detail |
---|
protected Iterator getDelegate()
public boolean hasNext()
hasNext
in interface Iterator
public Object next()
Iterator.hasNext()
method returns false will return each element in the underlying collection exactly once.next
in interface Iterator
public void remove()
remove
in interface Iterator
public boolean equals(Object o)
public int hashCode()
|
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 |