|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Vector
com.sybase.collections.ArrayList
public class ArrayList
Utility class to store elements, similar to J2SE ArrayList.
Field Summary |
---|
Fields inherited from class java.util.Vector |
---|
capacityIncrement, elementCount, elementData |
Constructor Summary | |
---|---|
ArrayList()
Initializes a new instance of the ArrayList class that is empty. |
|
ArrayList(int capacity)
Initializes a new instance of the ArrayList class that is empty and has the specified initial capacity. |
Method Summary | |
---|---|
protected void |
addSlice(ArrayList from,
int start,
int finish)
Adds part of the specified ArrayList to this instance. |
void |
clear()
Removes all elements from the instance. |
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 |
---|
public ArrayList()
public ArrayList(int capacity)
capacity
- The initial number of elements that the ArrayList can contain.Method Detail |
---|
public void clear()
protected void addSlice(ArrayList from, int start, int finish)
from
- The ArrayList to add.start
- The start index from where to addfinish
- The end index.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |