org.scopemvc.model.util
Class IntIndexSelectorIterator

java.lang.Object
  |
  +--org.scopemvc.model.util.IntIndexSelectorIterator
All Implemented Interfaces:
java.util.Iterator

public final class IntIndexSelectorIterator
extends java.lang.Object
implements java.util.Iterator

An Iterator that iterates between a range of IntIndexSelectors. Construct with a start and end index: the iterator steps over this sequence inclusive. ie (0, 0) gives a 0 Selector, but (0, -1) gives no Selector.

Note: the Selectors returned must be treated as immutable: it is the same Selector.

Version:
$Revision: 1.5 $ $Date: 2002/09/05 15:41:46 $
Author:
Steve Meyfroidt

Constructor Summary
IntIndexSelectorIterator(int inStartIndex, int inEndIndex)
          Constructor for the IntIndexSelectorIterator object
 
Method Summary
 boolean hasNext()
          TODO: document the method
 java.lang.Object next()
          TODO: document the method
 void remove()
          TODO: document the method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntIndexSelectorIterator

public IntIndexSelectorIterator(int inStartIndex,
                                int inEndIndex)
Constructor for the IntIndexSelectorIterator object

Parameters:
inStartIndex - TODO: Describe the Parameter
inEndIndex - TODO: Describe the Parameter
Method Detail

hasNext

public boolean hasNext()
TODO: document the method

Specified by:
hasNext in interface java.util.Iterator
Returns:
TODO: Describe the Return Value

next

public java.lang.Object next()
TODO: document the method

Specified by:
next in interface java.util.Iterator
Returns:
TODO: Describe the Return Value

remove

public void remove()
TODO: document the method

Specified by:
remove in interface java.util.Iterator


Copyright © 2000-2002 The Scope Team. All Rights Reserved.