edu.internet2.middleware.grouperClientExt.com.thoughtworks.xstream.persistence
Class XmlArrayList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList
edu.internet2.middleware.grouperClientExt.com.thoughtworks.xstream.persistence.XmlArrayList
- All Implemented Interfaces:
- Iterable, Collection, List
public class XmlArrayList
- extends AbstractList
A persistent list implementation backed on a XmlMap.
- Author:
- Guilherme Silveira
| Methods inherited from class java.util.AbstractList |
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList |
XmlArrayList
public XmlArrayList(StreamStrategy streamStrategy)
size
public int size()
- Specified by:
size in interface Collection- Specified by:
size in interface List- Specified by:
size in class AbstractCollection
set
public Object set(int index,
Object element)
- Specified by:
set in interface List- Overrides:
set in class AbstractList
add
public void add(int index,
Object element)
- Specified by:
add in interface List- Overrides:
add in class AbstractList
get
public Object get(int index)
- Specified by:
get in interface List- Specified by:
get in class AbstractList
remove
public Object remove(int index)
- Specified by:
remove in interface List- Overrides:
remove in class AbstractList
Copyright © 2012 Internet2. All Rights Reserved.