Package org.citygml4j.model.common.child
Class ChildList<T extends Child>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<T>
-
- org.citygml4j.model.common.child.ChildList<T>
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Iterable<T>
,java.util.Collection<T>
,java.util.List<T>
,java.util.RandomAccess
public class ChildList<T extends Child> extends java.util.ArrayList<T>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ChildList(ModelObject parent)
ChildList(ModelObject parent, int initialCapacity)
ChildList(ModelObject parent, java.util.Collection<? extends T> c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int index, T element)
boolean
add(T o)
boolean
addAll(int index, java.util.Collection<? extends T> c)
boolean
addAll(java.util.Collection<? extends T> c)
void
clear()
T
remove(int index)
boolean
remove(java.lang.Object o)
boolean
removeAll(java.util.Collection<?> c)
protected void
removeRange(int fromIndex, int toIndex)
boolean
retainAll(java.util.Collection<?> c)
T
set(int index, T element)
-
Methods inherited from class java.util.ArrayList
clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, removeIf, replaceAll, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
-
-
-
Constructor Detail
-
ChildList
public ChildList(ModelObject parent)
-
ChildList
public ChildList(ModelObject parent, java.util.Collection<? extends T> c)
-
ChildList
public ChildList(ModelObject parent, int initialCapacity)
-
-
Method Detail
-
add
public void add(int index, T element)
-
add
public boolean add(T o)
-
addAll
public boolean addAll(java.util.Collection<? extends T> c)
-
addAll
public boolean addAll(int index, java.util.Collection<? extends T> c)
-
clear
public void clear()
-
remove
public T remove(int index)
-
remove
public boolean remove(java.lang.Object o)
-
removeAll
public boolean removeAll(java.util.Collection<?> c)
-
removeRange
protected void removeRange(int fromIndex, int toIndex)
-
retainAll
public boolean retainAll(java.util.Collection<?> c)
-
-