|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jostraca.unit.BasicUnitList
UnitList| Field Summary | |
static java.lang.String |
CN
|
protected int |
iIndex
|
protected java.util.Vector |
iUnitList
|
| Constructor Summary | |
BasicUnitList()
|
|
| Method Summary | |
void |
add(Unit pUnit)
Add a unit, nulls are ignored |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String CN
protected int iIndex
protected java.util.Vector iUnitList
| Constructor Detail |
public BasicUnitList()
| Method Detail |
public boolean nextUnit()
UnitList
nextUnit in interface UnitListorg.jostraca.unitpublic Unit getUnit()
UnitList
getUnit in interface UnitListorg.jostraca.unitpublic Unit getUnit(int pIndex)
UnitList
getUnit in interface UnitListpIndex - index of unitorg.jostraca.unitpublic int getNumUnits()
UnitList
getNumUnits in interface UnitListorg.jostraca.unitpublic int getUnitIndex()
UnitList
getUnitIndex in interface UnitListorg.jostraca.unitpublic void add(Unit pUnit)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||