planetj.database.table
Class TableCollection

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.ArrayList
                    |
                    +--planetj.database.table.TableCollection
All Implemented Interfaces:
Cloneable, Collection, List, RandomAccess, Serializable

public class TableCollection
extends ArrayList

Insert the type's description here. Creation date: (7/27/03 4:02:18 PM)

See Also:
Serialized Form

Constructor Summary
TableCollection()
          TableCollection constructor.
TableCollection(Collection tables)
          TableCollection constructor.
TableCollection(int size)
          TableCollection constructor.
 
Method Summary
 boolean add(Object o)
          Adds a Table to this TableCollection
 boolean addTable(Table t)
          Adds a table to this TableCollection
 Table getTable(int index)
          Gets a table out of the collection by index
 
Methods inherited from class java.util.ArrayList
add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, remove, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList
 

Constructor Detail

TableCollection

public TableCollection()
TableCollection constructor.


TableCollection

public TableCollection(int size)
TableCollection constructor.


TableCollection

public TableCollection(Collection tables)
TableCollection constructor.

Method Detail

add

public boolean add(Object o)
Adds a Table to this TableCollection

Specified by:
add in interface List
Overrides:
add in class ArrayList

addTable

public boolean addTable(Table t)
Adds a table to this TableCollection


getTable

public Table getTable(int index)
Gets a table out of the collection by index