com.sybase.reflection
Class DataTypeList

java.lang.Object
  extended by java.util.Vector
      extended by com.sybase.reflection.DataTypeList

public class DataTypeList
extends java.util.Vector


Field Summary
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Constructor Summary
DataTypeList(int capacity)
          Sybase internal use only.
 
Method Summary
 int add(DataType x)
          Sybase internal use only.
 DataTypeList addThis(DataType item)
          Sybase internal use only.
 boolean contains(DataType x)
          Checks if this list contains the given DataType.
 DataType getByIndex(int index)
          Gets a DataType by index.
 int indexOf(DataType x)
          Determines the index of the specified DataType.
 void insert(int index, DataType x)
          Sybase internal use only.
 DataType item(int index)
          Sybase internal use only.
 void remove(DataType x)
          Sybase internal use only.
 DataTypeList slice(int skip, int take)
          Sybase internal use only.
 
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

DataTypeList

public DataTypeList(int capacity)
Sybase internal use only.

Method Detail

getByIndex

public DataType getByIndex(int index)
Gets a DataType by index.

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

add

public int add(DataType x)
Sybase internal use only.


insert

public void insert(int index,
                   DataType x)
Sybase internal use only.


remove

public void remove(DataType x)
Sybase internal use only.


contains

public boolean contains(DataType x)
Checks if this list contains the given DataType.

Parameters:
x - The DataType to check.
Returns:
Returns true if x is found; otherwise, false.

indexOf

public int indexOf(DataType x)
Determines the index of the specified DataType.

Parameters:
x - The DataType to find.
Returns:
Returns the index of x if found; otherwise, -1.

addThis

public DataTypeList addThis(DataType item)
Sybase internal use only.


item

public DataType item(int index)
Sybase internal use only.


slice

public DataTypeList slice(int skip,
                          int take)
Sybase internal use only.