org.millscript.office.spreadsheet.rows
Class SharedRowListIterator
java.lang.Object
org.millscript.commons.util.iterator.AbstractMapIterator<java.lang.Integer,V>
org.millscript.commons.util.iterator.AbstractListIterator<Row>
org.millscript.office.spreadsheet.rows.SharedRowListIterator
- All Implemented Interfaces:
- org.millscript.commons.util.ListIterator<Row>, org.millscript.commons.util.MapIterator<java.lang.Integer,Row>
public class SharedRowListIterator
- extends org.millscript.commons.util.iterator.AbstractListIterator<Row>
This class provides a list interator implementation which iterates over a
slice of a shared object array.
| Fields inherited from class org.millscript.commons.util.iterator.AbstractListIterator |
position |
|
Constructor Summary |
SharedRowListIterator(Cell[][] objects,
int start,
int end)
Constructs a new shared array list iterator to iterate over a slice of
the specified object array. |
| Methods inherited from class org.millscript.commons.util.iterator.AbstractListIterator |
advance, currentMaplet, getKey, getMaplet, nextMaplet |
| Methods inherited from class org.millscript.commons.util.iterator.AbstractMapIterator |
currentKey, currentValue, nextKey, nextValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.millscript.commons.util.MapIterator |
currentKey, currentValue, nextKey, nextValue |
SharedRowListIterator
public SharedRowListIterator(Cell[][] objects,
int start,
int end)
- Constructs a new shared array list iterator to iterate over a slice of
the specified object array.
- Parameters:
objects - the object array whose slice to iterate overstart - the index(one based, inclusive) to start iterating fromend - the index(one based, inclusive) to stop iterating at
getValue
protected Row getValue()
- Specified by:
getValue in class org.millscript.commons.util.iterator.AbstractMapIterator<java.lang.Integer,Row>
- See Also:
AbstractMapIterator.getValue()
hasNext
public boolean hasNext()
- See Also:
MapIterator.hasNext()
outOfBounds
protected boolean outOfBounds()
- Specified by:
outOfBounds in class org.millscript.commons.util.iterator.AbstractMapIterator<java.lang.Integer,Row>
- See Also:
AbstractMapIterator.outOfBounds()
Copyright © 2006-2007 Open World Ltd. All Rights Reserved.