public class PropertyArrayList<T> extends AbstractList<T> implements Serializable
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 :)
modCount
Constructor and Description |
---|
PropertyArrayList(PrismProperty property,
PrismContainerValue<?> parent) |
Modifier and Type | Method and Description |
---|---|
void |
add(int i,
T t) |
boolean |
add(T t) |
boolean |
addAll(Collection<? extends T> ts) |
boolean |
addAll(int i,
Collection<? extends T> ts) |
T |
get(int index) |
T |
remove(int i) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> objects) |
int |
size() |
clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, set, subList
contains, containsAll, isEmpty, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
contains, containsAll, isEmpty, replaceAll, retainAll, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
public PropertyArrayList(@NotNull PrismProperty property, @NotNull PrismContainerValue<?> parent)
public int size()
size
in interface Collection<T>
size
in interface List<T>
size
in class AbstractCollection<T>
public T get(int index)
public boolean addAll(Collection<? extends T> ts)
addAll
in interface Collection<T>
addAll
in interface List<T>
addAll
in class AbstractCollection<T>
public boolean addAll(int i, Collection<? extends T> ts)
public boolean add(T t)
add
in interface Collection<T>
add
in interface List<T>
add
in class AbstractList<T>
public void add(int i, T t)
public T remove(int i)
public boolean remove(Object o)
remove
in interface Collection<T>
remove
in interface List<T>
remove
in class AbstractCollection<T>
public boolean removeAll(Collection<?> objects)
removeAll
in interface Collection<T>
removeAll
in interface List<T>
removeAll
in class AbstractCollection<T>
Copyright © 2019 Evolveum. All rights reserved.