org.openspml.v2.util.xml
Class ArrayListWithType

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.ArrayList
              extended byorg.openspml.v2.util.xml.ArrayListWithType
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, ListWithType, java.util.RandomAccess, java.io.Serializable

public class ArrayListWithType
extends java.util.ArrayList
implements ListWithType

For element fields that are 0,m - we want to convey type information.

Author:
kent.spaulding@sun.com

Date: Mar 3, 2006

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
ArrayListWithType(java.lang.Class type)
           
ArrayListWithType(java.lang.Class type, java.util.Collection c)
           
ArrayListWithType(java.lang.Class type, int initialCapacity)
           
 
Method Summary
 java.lang.Class getType()
           
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, 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, remove, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Constructor Detail

ArrayListWithType

public ArrayListWithType(java.lang.Class type)

ArrayListWithType

public ArrayListWithType(java.lang.Class type,
                         int initialCapacity)

ArrayListWithType

public ArrayListWithType(java.lang.Class type,
                         java.util.Collection c)
Method Detail

getType

public java.lang.Class getType()
Specified by:
getType in interface ListWithType


Copyright © Sun Microsystems, Inc. All Rights Reserved.