|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Description:
A UnitList is a collection of Units provided for processing in
some way. Sequential access to the Units is provided as the
default method of access, although random access is also
provided.
UnitList is immutable - create a new UnitList if you need to
change the list.
Unit| Method Summary | |
int |
getNumUnits()
Return number of Units. |
Unit |
getUnit()
Return current Unit. |
Unit |
getUnit(int pIndex)
Return current Unit at index. |
int |
getUnitIndex()
Return current index in list of Units. |
boolean |
nextUnit()
Return true if their are more Units, false otherwise. |
| Method Detail |
public boolean nextUnit()
public Unit getUnit()
public Unit getUnit(int pIndex)
pIndex - index of unitpublic int getNumUnits()
public int getUnitIndex()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||