@StoreNotUseStandardSerialization @StorableClass public class TreeSupportSubIterator<E> extends AbstractTreeSupportIterator<E> implements Serializable
concurrentAccess, fromEnd, modificationCount, nextNode, previousNode, removable, tree
Modifier | Constructor and Description |
---|---|
protected |
TreeSupportSubIterator(TreeSupport<E> tree,
E fromElement,
boolean fromInclusive,
E toElement,
boolean toInclusive) |
protected |
TreeSupportSubIterator(TreeSupport<E> tree,
E fromElement,
boolean fromInclusive,
E toElement,
boolean toInclusive,
boolean fromEnd) |
protected |
TreeSupportSubIterator(TreeSupport<E> tree,
E fromElement,
boolean fromInclusive,
E toElement,
boolean toInclusive,
int index) |
add, checkTreeChange, hasNext, hasPrevious, next, previous, remove, set
protected TreeSupportSubIterator(TreeSupport<E> tree, E fromElement, boolean fromInclusive, E toElement, boolean toInclusive)
tree
- tree this iterate infromElement
- starting element for iterationfromInclusive
- true if starting element is included in iterationtoElement
- ending element for iterationtoInclusive
- true if ending element is included in iterationprotected TreeSupportSubIterator(TreeSupport<E> tree, E fromElement, boolean fromInclusive, E toElement, boolean toInclusive, int index)
tree
- tree this iterate infromElement
- starting element for iterationfromInclusive
- true if starting element is included in iterationtoElement
- ending element for iterationtoInclusive
- true if ending element is included in iterationindex
- start indexprotected TreeSupportSubIterator(TreeSupport<E> tree, E fromElement, boolean fromInclusive, E toElement, boolean toInclusive, boolean fromEnd)
tree
- tree this iterate infromElement
- starting element for iterationfromInclusive
- true if starting element is included in iterationtoElement
- ending element for iterationtoInclusive
- true if ending element is included in iterationfromEnd
- true if iterate from endpublic static TreeSupportSubIterator newInstance(IInstanceFactory instanceFactory, TreeSupport tree, Object fromElement, boolean fromInclusive, Object toElement, boolean toInclusive)
public static TreeSupportSubIterator newInstance(IInstanceFactory instanceFactory, TreeSupport tree, Object fromElement, boolean fromInclusive, Object toElement, boolean toInclusive, int index)
public static TreeSupportSubIterator newInstance(IInstanceFactory instanceFactory, TreeSupport tree, Object fromElement, boolean fromInclusive, Object toElement, boolean toInclusive, boolean fromEnd)
protected void initializeToBegin()
initializeToBegin
in class AbstractTreeSupportIterator<E>
protected void initializeToEnd()
initializeToEnd
in class AbstractTreeSupportIterator<E>
public int size()
size
in class AbstractTreeSupportIterator<E>
protected TreeSupportNode<E> firstNode()
firstNode
in class AbstractTreeSupportIterator<E>
protected void nextNodeSetToNextOfNextNode()
AbstractTreeSupportIterator
AbstractTreeSupportIterator.nextNode
to next of itselfnextNodeSetToNextOfNextNode
in class AbstractTreeSupportIterator<E>
protected TreeSupportNode<E> lastNode()
lastNode
in class AbstractTreeSupportIterator<E>
protected void previousNodeSetToPreviousOfPreviousNode()
AbstractTreeSupportIterator
AbstractTreeSupportIterator.previousNode
to previous of itselfpreviousNodeSetToPreviousOfPreviousNode
in class AbstractTreeSupportIterator<E>
protected void nextNodeSetToNextOfOfNextNode()
nextNodeSetToNextOfOfNextNode
in class AbstractTreeSupportIterator<E>
protected void nextNodeSetToNextOfOfPreviousNode()
AbstractTreeSupportIterator
nextNodeSetToNextOfOfPreviousNode
in class AbstractTreeSupportIterator<E>
protected void previousNodeSetToPreviousOfNextNode()
AbstractTreeSupportIterator
AbstractTreeSupportIterator.previousNode
to previous of AbstractTreeSupportIterator.nextNode
previousNodeSetToPreviousOfNextNode
in class AbstractTreeSupportIterator<E>
protected void nextNodeSetToNextOfRemovable()
nextNodeSetToNextOfRemovable
in class AbstractTreeSupportIterator<E>
protected void previousNodeSetToPreviousNodeOfRemovable()
previousNodeSetToPreviousNodeOfRemovable
in class AbstractTreeSupportIterator<E>
public int nextIndex()
nextIndex
in interface ListIterator<E>
nextIndex
in class AbstractTreeSupportIterator<E>
public int previousIndex()
previousIndex
in interface ListIterator<E>
previousIndex
in class AbstractTreeSupportIterator<E>
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.