|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList
edu.northwestern.at.utils.XArrayList
public class XArrayList
Extended array list.
This class extends ArrayList to support array input better.
| Field Summary |
|---|
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
XArrayList()
Create empty array list. |
|
XArrayList(java.util.Collection collection)
Create array list from a collection. |
|
XArrayList(int initialCapacity)
Create empty array list with specified initial capacity. |
|
XArrayList(java.lang.Object[] array)
Create array list from an array. |
|
| Method Summary | |
|---|---|
void |
addAll(java.lang.Object[] array)
Add all elements of an array. |
| Methods inherited from class java.util.ArrayList |
|---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, 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, removeAll, retainAll, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
| Constructor Detail |
|---|
public XArrayList()
public XArrayList(int initialCapacity)
public XArrayList(java.util.Collection collection)
collection - The source collection. public XArrayList(java.lang.Object[] array)
array - The source array. | Method Detail |
|---|
public void addAll(java.lang.Object[] array)
array - The source array.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||