com.evolveum.midpoint.schema.xjc
Class PropertyArrayList<T>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<T>
com.evolveum.midpoint.schema.xjc.PropertyArrayList<T>
- All Implemented Interfaces:
- java.lang.Iterable<T>, java.util.Collection<T>, java.util.List<T>
public class PropertyArrayList<T>
- extends java.util.AbstractList<T>
This class is used to wrap Property
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
Fields inherited from class java.util.AbstractList |
modCount |
Method Summary |
void |
add(int i,
T t)
|
boolean |
add(T t)
|
boolean |
addAll(java.util.Collection<? extends T> ts)
|
boolean |
addAll(int i,
java.util.Collection<? extends T> ts)
|
T |
get(int index)
|
T |
remove(int i)
|
boolean |
remove(java.lang.Object o)
|
boolean |
removeAll(java.util.Collection<?> objects)
|
int |
size()
|
Methods inherited from class java.util.AbstractList |
clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, set, subList |
Methods inherited from class java.util.AbstractCollection |
contains, containsAll, isEmpty, retainAll, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
contains, containsAll, isEmpty, retainAll, toArray, toArray |
PropertyArrayList
public PropertyArrayList(Property property)
size
public int size()
- Specified by:
size
in interface java.util.Collection<T>
- Specified by:
size
in interface java.util.List<T>
- Specified by:
size
in class java.util.AbstractCollection<T>
get
public T get(int index)
- Specified by:
get
in interface java.util.List<T>
- Specified by:
get
in class java.util.AbstractList<T>
addAll
public boolean addAll(java.util.Collection<? extends T> ts)
- Specified by:
addAll
in interface java.util.Collection<T>
- Specified by:
addAll
in interface java.util.List<T>
- Overrides:
addAll
in class java.util.AbstractCollection<T>
addAll
public boolean addAll(int i,
java.util.Collection<? extends T> ts)
- Specified by:
addAll
in interface java.util.List<T>
- Overrides:
addAll
in class java.util.AbstractList<T>
add
public boolean add(T t)
- Specified by:
add
in interface java.util.Collection<T>
- Specified by:
add
in interface java.util.List<T>
- Overrides:
add
in class java.util.AbstractList<T>
add
public void add(int i,
T t)
- Specified by:
add
in interface java.util.List<T>
- Overrides:
add
in class java.util.AbstractList<T>
remove
public T remove(int i)
- Specified by:
remove
in interface java.util.List<T>
- Overrides:
remove
in class java.util.AbstractList<T>
remove
public boolean remove(java.lang.Object o)
- Specified by:
remove
in interface java.util.Collection<T>
- Specified by:
remove
in interface java.util.List<T>
- Overrides:
remove
in class java.util.AbstractCollection<T>
removeAll
public boolean removeAll(java.util.Collection<?> objects)
- Specified by:
removeAll
in interface java.util.Collection<T>
- Specified by:
removeAll
in interface java.util.List<T>
- Overrides:
removeAll
in class java.util.AbstractCollection<T>
Copyright © 2012 evolveum. All Rights Reserved.