|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.otvl.sbxbsamp.simple.HouseList
Constructor Summary | |
HouseList()
|
Method Summary | |
void |
addHouses(House aHouse)
Adds a target at end of link houses. |
void |
addHouses(int index,
House aHouse)
Inserts a target in link houses. |
void |
clearHouses()
Clears all targets in link houses |
House |
getHouses(int index)
Returns a target in link houses. |
java.util.Iterator |
iteratorHouses()
Returns an iterator for targets in links houses |
void |
removeHouses(int index)
Removes a target in link houses |
int |
sizeHouses()
Returns the size of the collection houses |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HouseList()
Method Detail |
public House getHouses(int index)
index
- offset in the array
public java.util.Iterator iteratorHouses()
public int sizeHouses()
public void addHouses(int index, House aHouse)
index
- offset in the listaHouse
- The House to insertpublic void addHouses(House aHouse)
aHouse
- The House to insertpublic void removeHouses(int index)
index
- offset in the listpublic void clearHouses()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |