flex.messaging.io
Class ArrayCollection

java.lang.Object
  extended by java.util.AbstractCollection
      extended by java.util.AbstractList
          extended by java.util.ArrayList
              extended by flex.messaging.io.ArrayCollection
All Implemented Interfaces:
Externalizable, Serializable, Cloneable, Iterable, Collection, List, RandomAccess

public class ArrayCollection
extends ArrayList
implements Externalizable

Used to map to client mx.collections.ArrayCollection to java.util.Lists in Java.

See Also:
Serialized Form

Constructor Summary
ArrayCollection()
           
ArrayCollection(Collection c)
           
ArrayCollection(int initialCapacity)
           
 
Method Summary
 Object[] getSource()
           
 void readExternal(ObjectInput input)
           
 void setDescriptor(SerializationDescriptor desc)
           
 void setSource(Collection s)
           
 void setSource(Object[] s)
           
 void writeExternal(ObjectOutput output)
           
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, 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
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(Collection c)

ArrayCollection

public ArrayCollection(int initialCapacity)
Method Detail

getSource

public Object[] getSource()

setDescriptor

public void setDescriptor(SerializationDescriptor desc)

setSource

public void setSource(Object[] s)

setSource

public void setSource(Collection s)

readExternal

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

writeExternal

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


Copyright © 2008 Adobe Systems Inc. All Rights Reserved.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/messaging/io/ArrayCollection.html