org.millscript.commons.util.map
Class AbstractITreeMap.ITreeMapNodeKeyList<K>

java.lang.Object
  extended by org.millscript.commons.util.list.AbstractIList<V>
      extended by org.millscript.commons.util.map.AbstractITreeMap.ITreeMapNodeList<K>
          extended by org.millscript.commons.util.map.AbstractITreeMap.ITreeMapNodeKeyList<K>
All Implemented Interfaces:
IList<K>, IMap<java.lang.Integer,K>
Enclosing class:
AbstractITreeMap<K,V,N extends ITreeMapNode<K,V>>

public static class AbstractITreeMap.ITreeMapNodeKeyList<K>
extends AbstractITreeMap.ITreeMapNodeList<K>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.millscript.commons.util.list.AbstractIList
AbstractIList.ListMapletIterator<V>, AbstractIList.ListMapletList<V>
 
Constructor Summary
protected AbstractITreeMap.ITreeMapNodeKeyList(ITreeMapNode<?,?> node, int start, int end)
          Constructs a new immutable list of the keys in the specified node tree.
 
Method Summary
 ListIterator<K> sharedIterator()
          Returns a list iterator which shares backing store with this list.
 
Methods inherited from class org.millscript.commons.util.map.AbstractITreeMap.ITreeMapNodeList
doGet, doSlice, indexOf, iterator, size
 
Methods inherited from class org.millscript.commons.util.list.AbstractIList
allButFirst, allButLast, allFirst, allLast, contains, contains, contains, contains0, contains0, contains0, containsAll, containsKey, containsKey, containsKey0, containsKey0, containsSlice, containsSlice0, containsValue, decorate, equals, first, get, get, get0, get0, getDefault, hashCode, indexOf0, isEmtpy, keyList, last, mapletList, setDefault, setDefault, sharedMapletList, sharedValueList, slice, slice0, toArray, toArray, toString, valueList
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractITreeMap.ITreeMapNodeKeyList

protected AbstractITreeMap.ITreeMapNodeKeyList(ITreeMapNode<?,?> node,
                                               int start,
                                               int end)
Constructs a new immutable list of the keys in the specified node tree.

Parameters:
node - any node in the leftmost branch of the backing store tree
start - the index(one based, inclusive) to start iterating from
end - the index(one based, inclusive) to stop iterating at
Method Detail

sharedIterator

public ListIterator<K> sharedIterator()
Description copied from class: AbstractITreeMap.ITreeMapNodeList
Returns a list iterator which shares backing store with this list.

Returns:
a list iterator which shares this lists backing store
See Also:
org.millscript.commons.util.map.IBinaryTreeMap.NodeXList#sharedIterator()


Copyright © 2005-2007 Open World Ltd. All Rights Reserved.