Class PropertyArrayList<T>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<T>
com.evolveum.midpoint.prism.impl.xjc.PropertyArrayList<T>
- All Implemented Interfaces:
PrismList
,Serializable
,Iterable<T>
,Collection<T>
,List<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
- See Also:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
ConstructorDescriptionPropertyArrayList
(@NotNull PrismProperty property, @NotNull PrismContainerValue<?> parent) -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
boolean
addAll
(int i, Collection<? extends T> ts) boolean
addAll
(Collection<? extends T> ts) get
(int index) remove
(int i) boolean
boolean
removeAll
(Collection<?> objects) int
size()
Methods inherited from class java.util.AbstractList
clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, 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.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
contains, containsAll, isEmpty, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
Constructor Details
-
PropertyArrayList
public PropertyArrayList(@NotNull @NotNull PrismProperty property, @NotNull @NotNull PrismContainerValue<?> parent)
-
-
Method Details
-
size
public int size()- Specified by:
size
in interfaceCollection<T>
- Specified by:
size
in interfaceList<T>
- Specified by:
size
in classAbstractCollection<T>
-
get
-
addAll
- Specified by:
addAll
in interfaceCollection<T>
- Specified by:
addAll
in interfaceList<T>
- Overrides:
addAll
in classAbstractCollection<T>
-
addAll
-
add
- Specified by:
add
in interfaceCollection<T>
- Specified by:
add
in interfaceList<T>
- Overrides:
add
in classAbstractList<T>
-
add
-
remove
-
remove
- Specified by:
remove
in interfaceCollection<T>
- Specified by:
remove
in interfaceList<T>
- Overrides:
remove
in classAbstractCollection<T>
-
removeAll
- Specified by:
removeAll
in interfaceCollection<T>
- Specified by:
removeAll
in interfaceList<T>
- Overrides:
removeAll
in classAbstractCollection<T>
-
set
-