|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.millscript.commons.util.iterator.AbstractMapIterator<java.lang.Integer,V>
org.millscript.commons.util.iterator.AbstractListIterator<V>
org.millscript.commons.util.map.AbstractITreeMap.ITreeMapNodeListIterator<V>
public abstract static class AbstractITreeMap.ITreeMapNodeListIterator<V>
| Field Summary |
|---|
| Fields inherited from class org.millscript.commons.util.iterator.AbstractListIterator |
|---|
position |
| Constructor Summary | |
|---|---|
protected |
AbstractITreeMap.ITreeMapNodeListIterator(ITreeMapNode<?,?> node,
int start,
int end)
Constructs a new binary tree map iterator to iterate over the specified node tree. |
| Method Summary | |
|---|---|
protected void |
advance()
Advances this iterator to its next point. |
protected V |
getValue()
Returns the value for the current mapping in the iteration. |
boolean |
hasNext()
Returns true if there are more values available in this
iteration and false otherwise. |
protected boolean |
outOfBounds()
Returns true if this iterator is outside its bounds(before
the first element or beyond the last) and false otherwise. |
| Methods inherited from class org.millscript.commons.util.iterator.AbstractListIterator |
|---|
currentMaplet, getKey, getMaplet, nextMaplet |
| Methods inherited from class org.millscript.commons.util.iterator.AbstractMapIterator |
|---|
currentKey, currentValue, nextKey, nextValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.millscript.commons.util.MapIterator |
|---|
currentKey, currentValue, nextKey, nextValue |
| Constructor Detail |
|---|
protected AbstractITreeMap.ITreeMapNodeListIterator(ITreeMapNode<?,?> node,
int start,
int end)
node - any node in the leftmost branch of the backing store
treestart - the index(one based, inclusive) to start iterating fromend - the index(one based, inclusive) to stop iterating at| Method Detail |
|---|
protected void advance()
AbstractMapIterator
advance in class AbstractListIterator<V>AbstractMapIterator.advance()protected V getValue()
AbstractMapIterator
getValue in class AbstractMapIterator<java.lang.Integer,V>AbstractMapIterator.getValue()public boolean hasNext()
MapIteratortrue if there are more values available in this
iteration and false otherwise.
true if there are more values in this iteration
and false otherwiseMapIterator.hasNext()protected boolean outOfBounds()
AbstractMapIteratortrue if this iterator is outside its bounds(before
the first element or beyond the last) and false otherwise.
outOfBounds in class AbstractMapIterator<java.lang.Integer,V>true if this iterator is outside its bounds and
false otherwiseAbstractMapIterator.outOfBounds()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||