|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.tigris.scarab.util.SubsetIterator
org.tigris.scarab.util.SubsetIteratorWithSize
| Field Summary |
| Fields inherited from class org.tigris.scarab.util.SubsetIterator |
EMPTY, firstCall |
| Fields inherited from interface org.tigris.scarab.util.IteratorWithSize |
EMPTY |
| Constructor Summary | |
SubsetIteratorWithSize(IteratorWithSize i,
int offset)
Constructs an itarator on a subset of the given iterator. |
|
SubsetIteratorWithSize(IteratorWithSize i,
int offset,
int elements)
Constructs an itarator on a subset of the given iterator. |
|
| Method Summary | |
int |
size()
|
| Methods inherited from class org.tigris.scarab.util.SubsetIterator |
hasNext, next, remove |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Iterator |
hasNext, next, remove |
| Constructor Detail |
public SubsetIteratorWithSize(IteratorWithSize i,
int offset,
int elements)
elements elements and can return the size
i - the IteratorWithSize to subsetoffset - the position of the first element of the subsetelements - the number of elements the subset should have
public SubsetIteratorWithSize(IteratorWithSize i,
int offset)
i - the IteratorWithSize to subsetoffset - the position of the first element of the subset| Method Detail |
public int size()
size in interface IteratorWithSize
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||