flex.messaging.io
Class ArrayCollection

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<Object>
              extended by flex.messaging.io.ArrayCollection
All Implemented Interfaces:
Externalizable, Serializable, Cloneable, Iterable<Object>, Collection<Object>, List<Object>, RandomAccess
Direct Known Subclasses:
UIDList, UIDSet

public class ArrayCollection
extends ArrayList<Object>
implements Externalizable

Author:
Franck WOLFF
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
ArrayCollection()
           
ArrayCollection(Collection<?> col)
           
ArrayCollection(int capacity)
           
ArrayCollection(Object[] array)
           
 
Method Summary
 void addAll(Object[] array)
           
 void readExternal(ObjectInput in)
           
 String toString()
           
 void writeExternal(ObjectOutput out)
           
 
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
 
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

ArrayCollection

public ArrayCollection()

ArrayCollection

public ArrayCollection(int capacity)

ArrayCollection

public ArrayCollection(Collection<?> col)

ArrayCollection

public ArrayCollection(Object[] array)
Method Detail

addAll

public void addAll(Object[] array)

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

toString

public String toString()
Overrides:
toString in class AbstractCollection<Object>