com.sybase.collections
Class ObjectList

java.lang.Object
  extended by java.util.Vector
      extended by com.sybase.collections.ObjectList
Direct Known Subclasses:
QueryResultSet

public class ObjectList
extends java.util.Vector


Field Summary
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Constructor Summary
ObjectList()
           
ObjectList(int capacity)
           
 
Method Summary
 int add(java.lang.Object x)
           
 ObjectList addThis(java.lang.Object item)
           
 int count()
           
 java.lang.Object getByIndex(int index)
          Gets a Object by index.
 void insert(int index, java.lang.Object x)
           
 java.lang.Object item(int index)
           
 void remove(java.lang.Object x)
           
 ObjectList slice(int skip, int take)
           
 
Methods inherited from class java.util.Vector
addElement, capacity, contains, copyInto, elementAt, elements, ensureCapacity, firstElement, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, removeAllElements, removeElement, removeElementAt, setElementAt, setSize, size, toString, trimToSize
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectList

public ObjectList()

ObjectList

public ObjectList(int capacity)
Method Detail

getByIndex

public java.lang.Object getByIndex(int index)
Gets a Object by index.

Parameters:
index - The zero-based index of the Object to find.
Returns:
Returns Object.

add

public int add(java.lang.Object x)

remove

public void remove(java.lang.Object x)

insert

public void insert(int index,
                   java.lang.Object x)

addThis

public ObjectList addThis(java.lang.Object item)

item

public java.lang.Object item(int index)

slice

public ObjectList slice(int skip,
                        int take)

count

public int count()