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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int i, Collection<? extends Object> elements) booleanaddAll(Collection<? extends Object> elements) get(int index) remove(int index) booleanbooleanremoveAll(Collection<?> objects) intsize()Methods inherited from class java.util.AbstractList
clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, set, subListMethods inherited from class java.util.AbstractCollection
contains, containsAll, isEmpty, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods 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:
sizein interfaceCollection<C extends Containerable>- Specified by:
sizein interfaceList<C extends Containerable>- Specified by:
sizein classAbstractCollection<Object>
-
get
- Specified by:
getin interfaceList<C extends Containerable>- Specified by:
getin classAbstractList<Object>
-
addAll
- Specified by:
addAllin interfaceCollection<C extends Containerable>- Specified by:
addAllin interfaceList<C extends Containerable>- Overrides:
addAllin classAbstractCollection<Object>
-
addAll
- Specified by:
addAllin interfaceList<C extends Containerable>- Overrides:
addAllin classAbstractList<Object>
-
add
- Specified by:
addin interfaceCollection<C extends Containerable>- Specified by:
addin interfaceList<C extends Containerable>- Overrides:
addin classAbstractList<Object>
-
add
- Specified by:
addin interfaceList<C extends Containerable>- Overrides:
addin classAbstractList<Object>
-
remove
- Specified by:
removein interfaceList<C extends Containerable>- Overrides:
removein classAbstractList<Object>
-
remove
- Specified by:
removein interfaceCollection<C extends Containerable>- Specified by:
removein interfaceList<C extends Containerable>- Overrides:
removein classAbstractCollection<Object>
-
removeAll
- Specified by:
removeAllin interfaceCollection<C extends Containerable>- Specified by:
removeAllin interfaceList<C extends Containerable>- Overrides:
removeAllin classAbstractCollection<Object>
-