|
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.run.xml.SimpleElement.ElementIterator
protected class SimpleElement.ElementIterator
Provides an Iterator implementation that exposes only those Elements from the Element list that match a certain name.
Field Summary | |
---|---|
protected static int |
FOUND |
protected XmlElement |
m_element |
protected Iterator |
m_iterator |
protected int |
m_nState |
protected String |
m_sName |
protected static int |
REMOVED |
protected static int |
RETURNED |
Constructor Summary | |
---|---|
SimpleElement.ElementIterator(String sName) |
Method Summary | |
---|---|
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 String m_sName
protected Iterator m_iterator
protected XmlElement m_element
protected int m_nState
protected static final int FOUND
protected static final int RETURNED
protected static final int REMOVED
Constructor Detail |
---|
public SimpleElement.ElementIterator(String sName)
Method Detail |
---|
public boolean hasNext()
java.util.Iterator
hasNext
in interface Iterator
public Object next()
java.util.Iterator
Iterator.hasNext()
method returns false will return each element in the underlying collection exactly once.next
in interface Iterator
public void remove()
java.util.Iterator
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 |