| java.lang.Object org.tigris.scarab.util.SubsetIterator org.tigris.scarab.util.SubsetIteratorWithSize
Method Summary | |
public int | size() |
SubsetIteratorWithSize | public SubsetIteratorWithSize(IteratorWithSize i, int offset, int elements)(Code) | | Constructs an itarator on a subset of the given iterator.
The SubsetIterator starts with the offset-element, iterates
over elements elements and can return the size
Parameters: i - the IteratorWithSize to subset Parameters: offset - the position of the first element of the subset Parameters: elements - the number of elements the subset should have |
SubsetIteratorWithSize | public SubsetIteratorWithSize(IteratorWithSize i, int offset)(Code) | | Constructs an itarator on a subset of the given iterator.
The SubsetIteratorWithSize starts with the offset-element and iterates
over limit elements and can return its size
Parameters: i - the IteratorWithSize to subset Parameters: offset - the position of the first element of the subset Parameters: elements - the number of elements the subset should have |
|
|