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 class
private class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
boolean
addAll
(int index, Collection<? extends T> c) boolean
addAll
(Collection<? extends T> c) void
clear()
boolean
boolean
containsAll
(Collection<?> c) get
(int index) int
boolean
isEmpty()
iterator()
int
listIterator
(int index) remove
(int index) boolean
boolean
removeAll
(Collection<?> c) boolean
retainAll
(Collection<?> c) private void
setParents
(Collection<? extends T> c) int
size()
subList
(int fromIndex, int toIndex) Object[]
toArray()
<T> T[]
toArray
(T[] a) private void
validateArgumentForAdd
(T arg, String functionName) private void
validateArgumentForSet
(T element, String functionName) private void
validateArgumentsForAdd
(Collection<? extends T> c, String functionName) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods 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:
size
in interfaceCollection<T extends SimpleXmlNode>
- Specified by:
size
in interfaceList<T extends SimpleXmlNode>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceCollection<T extends SimpleXmlNode>
- Specified by:
isEmpty
in interfaceList<T extends SimpleXmlNode>
-
contains
- Specified by:
contains
in interfaceCollection<T extends SimpleXmlNode>
- Specified by:
contains
in interfaceList<T extends SimpleXmlNode>
-
iterator
- Specified by:
iterator
in interfaceCollection<T extends SimpleXmlNode>
- Specified by:
iterator
in interfaceIterable<T extends SimpleXmlNode>
- Specified by:
iterator
in interfaceList<T extends SimpleXmlNode>
-
toArray
- Specified by:
toArray
in interfaceCollection<T extends SimpleXmlNode>
- Specified by:
toArray
in interfaceList<T extends SimpleXmlNode>
-
toArray
public <T> T[] toArray(T[] a) - Specified by:
toArray
in interfaceCollection<T extends SimpleXmlNode>
- Specified by:
toArray
in interfaceList<T extends SimpleXmlNode>
-
add
- Specified by:
add
in interfaceCollection<T extends SimpleXmlNode>
- Specified by:
add
in interfaceList<T extends SimpleXmlNode>
-
remove
- Specified by:
remove
in interfaceCollection<T extends SimpleXmlNode>
- Specified by:
remove
in interfaceList<T extends SimpleXmlNode>
-
containsAll
- Specified by:
containsAll
in interfaceCollection<T extends SimpleXmlNode>
- Specified by:
containsAll
in interfaceList<T extends SimpleXmlNode>
-
addAll
- Specified by:
addAll
in interfaceCollection<T extends SimpleXmlNode>
- Specified by:
addAll
in interfaceList<T extends SimpleXmlNode>
-
addAll
- Specified by:
addAll
in interfaceList<T extends SimpleXmlNode>
-
removeAll
- Specified by:
removeAll
in interfaceCollection<T extends SimpleXmlNode>
- Specified by:
removeAll
in interfaceList<T extends SimpleXmlNode>
-
retainAll
- Specified by:
retainAll
in interfaceCollection<T extends SimpleXmlNode>
- Specified by:
retainAll
in interfaceList<T extends SimpleXmlNode>
-
clear
public void clear()- Specified by:
clear
in interfaceCollection<T extends SimpleXmlNode>
- Specified by:
clear
in interfaceList<T extends SimpleXmlNode>
-
get
- Specified by:
get
in interfaceList<T extends SimpleXmlNode>
-
set
- Specified by:
set
in interfaceList<T extends SimpleXmlNode>
-
add
- Specified by:
add
in interfaceList<T extends SimpleXmlNode>
-
remove
- Specified by:
remove
in interfaceList<T extends SimpleXmlNode>
-
indexOf
- Specified by:
indexOf
in interfaceList<T extends SimpleXmlNode>
-
lastIndexOf
- Specified by:
lastIndexOf
in interfaceList<T extends SimpleXmlNode>
-
listIterator
- Specified by:
listIterator
in interfaceList<T extends SimpleXmlNode>
-
listIterator
- Specified by:
listIterator
in interfaceList<T extends SimpleXmlNode>
-
subList
- Specified by:
subList
in interfaceList<T extends SimpleXmlNode>
-
setParents
-
validateArgumentsForAdd
-
validateArgumentForAdd
-
validateArgumentForSet
-