Class AnyArrayList<C extends Containerable>
public class AnyArrayList<C extends Containerable>
extends AbstractList<Object>
implements PrismList
A list used for JAXB getAny() methods.
It is not used for normal prism operation, not even if compilte-time (JAXB) classes are used.
It is quite a bad way to use getAny() methods from the JAXB classes, it is much better to use
prism facet instead. However we need this to be fully JAXB compliant and therefore support
XML marshalling/unmarshalling. This is important e.g. for JAX-WS.
- Author:
- Radovan Semancik
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
boolean
addAll
(int i, Collection<? extends Object> elements) boolean
addAll
(Collection<? extends Object> elements) get
(int index) remove
(int index) boolean
boolean
removeAll
(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.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
contains, containsAll, isEmpty, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
Constructor Details
-
AnyArrayList
-
-
Method Details
-
size
public int size()- Specified by:
size
in interfaceCollection<C extends Containerable>
- Specified by:
size
in interfaceList<C extends Containerable>
- Specified by:
size
in classAbstractCollection<Object>
-
get
- Specified by:
get
in interfaceList<C extends Containerable>
- Specified by:
get
in classAbstractList<Object>
-
addAll
- Specified by:
addAll
in interfaceCollection<C extends Containerable>
- Specified by:
addAll
in interfaceList<C extends Containerable>
- Overrides:
addAll
in classAbstractCollection<Object>
-
addAll
- Specified by:
addAll
in interfaceList<C extends Containerable>
- Overrides:
addAll
in classAbstractList<Object>
-
add
- Specified by:
add
in interfaceCollection<C extends Containerable>
- Specified by:
add
in interfaceList<C extends Containerable>
- Overrides:
add
in classAbstractList<Object>
-
add
- Specified by:
add
in interfaceList<C extends Containerable>
- Overrides:
add
in classAbstractList<Object>
-
remove
- Specified by:
remove
in interfaceList<C extends Containerable>
- Overrides:
remove
in classAbstractList<Object>
-
remove
- Specified by:
remove
in interfaceCollection<C extends Containerable>
- Specified by:
remove
in interfaceList<C extends Containerable>
- Overrides:
remove
in classAbstractCollection<Object>
-
removeAll
- Specified by:
removeAll
in interfaceCollection<C extends Containerable>
- Specified by:
removeAll
in interfaceList<C extends Containerable>
- Overrides:
removeAll
in classAbstractCollection<Object>
-