| java.lang.Object org.tigris.scarab.util.SubsetIterator
All known Subclasses: org.tigris.scarab.util.SubsetIteratorWithSize,
Constructor Summary | |
public | SubsetIterator(Iterator i, int offset, int elements) Constructs an itarator on a subset of the given iterator.
The SubsetIterator starts with the offset-element and iterates
over elements elements
Parameters: i - the Iterator to subset Parameters: offset - the position of the first element of the subset Parameters: element - the number of elements the subset should have. | public | SubsetIterator(Iterator i, int offset) Constructs an itarator on a subset of the given iterator. |
firstCall | boolean firstCall(Code) | | |
SubsetIterator | public SubsetIterator(Iterator i, int offset, int elements)(Code) | | Constructs an itarator on a subset of the given iterator.
The SubsetIterator starts with the offset-element and iterates
over elements elements
Parameters: i - the Iterator to subset Parameters: offset - the position of the first element of the subset Parameters: element - the number of elements the subset should have. |
SubsetIterator | public SubsetIterator(Iterator i, int offset)(Code) | | Constructs an itarator on a subset of the given iterator.
The SubsetIterator starts with the offset-element and iterates
over all elements
Parameters: i - the Iterator to subset Parameters: offset - the position of the first element of the subset |
hasNext | public boolean hasNext()(Code) | | |
remove | public void remove()(Code) | | |
|
|