org.jacorb.collection.util
Class DynArray
java.lang.Object
org.jacorb.collection.util.DynArray
public class DynArray
- extends Object
elementData
protected Object[] elementData
elementCount
protected int elementCount
DynArray
public DynArray(int initialCapacity)
DynArray
public DynArray()
copyInto
public void copyInto(Object[] anArray)
ensureCapacity
public void ensureCapacity(int minCapacity)
setSize
public void setSize(int newSize)
capacity
public int capacity()
size
public int size()
isEmpty
public boolean isEmpty()
elements
public Enumeration elements()
contains
public boolean contains(Object elem)
indexOf
public int indexOf(Object elem)
indexOf
public int indexOf(Object elem,
int index)
elementAt
public Object elementAt(int index)
setElementAt
public void setElementAt(Object obj,
int index)
removeElementAt
public void removeElementAt(int index)
insertElementAt
public void insertElementAt(Object obj,
int index)
addElement
public void addElement(Object obj)
removeElement
public boolean removeElement(Object obj)
removeAllElements
public void removeAllElements()
firstElement
public Object firstElement()
lastElement
public Object lastElement()
finalize
protected void finalize()
- Overrides:
finalize in class Object
Copyright © 2015 JacORB. All rights reserved.