org.otvl.sbxbsamp.simple
Class HouseList

java.lang.Object
  extended byorg.otvl.sbxbsamp.simple.HouseList

public class HouseList
extends java.lang.Object

Version:
Author:

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

HouseList

public HouseList()
Method Detail

getHouses

public House getHouses(int index)
Returns a target in link houses.

Parameters:
index - offset in the array
Returns:
House

iteratorHouses

public java.util.Iterator iteratorHouses()
Returns an iterator for targets in links houses

Returns:
java.util.Iterator

sizeHouses

public int sizeHouses()
Returns the size of the collection houses

Returns:
int

addHouses

public void addHouses(int index,
                      House aHouse)
Inserts a target in link houses.

Parameters:
index - offset in the list
aHouse - The House to insert

addHouses

public void addHouses(House aHouse)
Adds a target at end of link houses.

Parameters:
aHouse - The House to insert

removeHouses

public void removeHouses(int index)
Removes a target in link houses

Parameters:
index - offset in the list

clearHouses

public void clearHouses()
Clears all targets in link houses



Copyright © 2003-2006 Thierry Beigbeder. All Rights Reserved.