com.evolveum.midpoint.prism.xjc
Class PropertyArrayList<T>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<T>
com.evolveum.midpoint.prism.xjc.PropertyArrayList<T>
- All Implemented Interfaces:
- Iterable<T>, Collection<T>, List<T>
public class PropertyArrayList<T>
- extends AbstractList<T>
This class is used to wrap PrismProperty values for JAXB objects with
List properties.
This list implementation is based on Set so indexes are
not guaranteed. Objects positions can change in time :)
- Author:
- lazyman
| Methods inherited from class java.util.AbstractList |
clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, set, subList |
PropertyArrayList
public PropertyArrayList(PrismProperty property)
size
public int size()
- Specified by:
size in interface Collection<T>- Specified by:
size in interface List<T>- Specified by:
size in class AbstractCollection<T>
get
public T get(int index)
- Specified by:
get in interface List<T>- Specified by:
get in class AbstractList<T>
addAll
public boolean addAll(Collection<? extends T> ts)
- Specified by:
addAll in interface Collection<T>- Specified by:
addAll in interface List<T>- Overrides:
addAll in class AbstractCollection<T>
addAll
public boolean addAll(int i,
Collection<? extends T> ts)
- Specified by:
addAll in interface List<T>- Overrides:
addAll in class AbstractList<T>
add
public boolean add(T t)
- Specified by:
add in interface Collection<T>- Specified by:
add in interface List<T>- Overrides:
add in class AbstractList<T>
add
public void add(int i,
T t)
- Specified by:
add in interface List<T>- Overrides:
add in class AbstractList<T>
remove
public T remove(int i)
- Specified by:
remove in interface List<T>- Overrides:
remove in class AbstractList<T>
remove
public boolean remove(Object o)
- Specified by:
remove in interface Collection<T>- Specified by:
remove in interface List<T>- Overrides:
remove in class AbstractCollection<T>
removeAll
public boolean removeAll(Collection<?> objects)
- Specified by:
removeAll in interface Collection<T>- Specified by:
removeAll in interface List<T>- Overrides:
removeAll in class AbstractCollection<T>
Copyright © 2013 evolveum. All Rights Reserved.