Package gw.xml.simple
Class XmlChildList<T extends SimpleXmlNode>
java.lang.Object
gw.xml.simple.XmlChildList<T>
- All Implemented Interfaces:
Iterable<T>,Collection<T>,List<T>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classprivate class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection<? extends T> c) booleanaddAll(Collection<? extends T> c) voidclear()booleanbooleancontainsAll(Collection<?> c) get(int index) intbooleanisEmpty()iterator()intlistIterator(int index) remove(int index) booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) private voidsetParents(Collection<? extends T> c) intsize()subList(int fromIndex, int toIndex) Object[]toArray()<T> T[]toArray(T[] a) private voidvalidateArgumentForAdd(T arg, String functionName) private voidvalidateArgumentForSet(T element, String functionName) private voidvalidateArgumentsForAdd(Collection<? extends T> c, String functionName) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliterator
-
Field Details
-
_delegate
-
_owner
-
-
Constructor Details
-
XmlChildList
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfaceCollection<T extends SimpleXmlNode>- Specified by:
sizein interfaceList<T extends SimpleXmlNode>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<T extends SimpleXmlNode>- Specified by:
isEmptyin interfaceList<T extends SimpleXmlNode>
-
contains
- Specified by:
containsin interfaceCollection<T extends SimpleXmlNode>- Specified by:
containsin interfaceList<T extends SimpleXmlNode>
-
iterator
- Specified by:
iteratorin interfaceCollection<T extends SimpleXmlNode>- Specified by:
iteratorin interfaceIterable<T extends SimpleXmlNode>- Specified by:
iteratorin interfaceList<T extends SimpleXmlNode>
-
toArray
- Specified by:
toArrayin interfaceCollection<T extends SimpleXmlNode>- Specified by:
toArrayin interfaceList<T extends SimpleXmlNode>
-
toArray
public <T> T[] toArray(T[] a) - Specified by:
toArrayin interfaceCollection<T extends SimpleXmlNode>- Specified by:
toArrayin interfaceList<T extends SimpleXmlNode>
-
add
- Specified by:
addin interfaceCollection<T extends SimpleXmlNode>- Specified by:
addin interfaceList<T extends SimpleXmlNode>
-
remove
- Specified by:
removein interfaceCollection<T extends SimpleXmlNode>- Specified by:
removein interfaceList<T extends SimpleXmlNode>
-
containsAll
- Specified by:
containsAllin interfaceCollection<T extends SimpleXmlNode>- Specified by:
containsAllin interfaceList<T extends SimpleXmlNode>
-
addAll
- Specified by:
addAllin interfaceCollection<T extends SimpleXmlNode>- Specified by:
addAllin interfaceList<T extends SimpleXmlNode>
-
addAll
- Specified by:
addAllin interfaceList<T extends SimpleXmlNode>
-
removeAll
- Specified by:
removeAllin interfaceCollection<T extends SimpleXmlNode>- Specified by:
removeAllin interfaceList<T extends SimpleXmlNode>
-
retainAll
- Specified by:
retainAllin interfaceCollection<T extends SimpleXmlNode>- Specified by:
retainAllin interfaceList<T extends SimpleXmlNode>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<T extends SimpleXmlNode>- Specified by:
clearin interfaceList<T extends SimpleXmlNode>
-
get
- Specified by:
getin interfaceList<T extends SimpleXmlNode>
-
set
- Specified by:
setin interfaceList<T extends SimpleXmlNode>
-
add
- Specified by:
addin interfaceList<T extends SimpleXmlNode>
-
remove
- Specified by:
removein interfaceList<T extends SimpleXmlNode>
-
indexOf
- Specified by:
indexOfin interfaceList<T extends SimpleXmlNode>
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<T extends SimpleXmlNode>
-
listIterator
- Specified by:
listIteratorin interfaceList<T extends SimpleXmlNode>
-
listIterator
- Specified by:
listIteratorin interfaceList<T extends SimpleXmlNode>
-
subList
- Specified by:
subListin interfaceList<T extends SimpleXmlNode>
-
setParents
-
validateArgumentsForAdd
-
validateArgumentForAdd
-
validateArgumentForSet
-