org.mycore.datamodel.classifications2.impl
Class MCRCategoryChildList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<MCRCategory>
org.mycore.datamodel.classifications2.impl.MCRCategoryChildList
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<MCRCategory>, Collection<MCRCategory>, List<MCRCategory>, RandomAccess
class MCRCategoryChildList
- extends ArrayList<MCRCategory>
| Methods inherited from class java.util.ArrayList |
clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, size, toArray, toArray, trimToSize |
MCRCategoryChildList
public MCRCategoryChildList(MCRCategory root,
MCRCategory thisCategory)
- Parameters:
root - thisCategory -
add
public void add(int index,
MCRCategory element)
- Specified by:
add in interface List<MCRCategory>- Overrides:
add in class ArrayList<MCRCategory>
add
public boolean add(MCRCategory e)
- Specified by:
add in interface Collection<MCRCategory>- Specified by:
add in interface List<MCRCategory>- Overrides:
add in class ArrayList<MCRCategory>
addAll
public boolean addAll(Collection<? extends MCRCategory> c)
- Specified by:
addAll in interface Collection<MCRCategory>- Specified by:
addAll in interface List<MCRCategory>- Overrides:
addAll in class ArrayList<MCRCategory>
addAll
public boolean addAll(int index,
Collection<? extends MCRCategory> c)
- Specified by:
addAll in interface List<MCRCategory>- Overrides:
addAll in class ArrayList<MCRCategory>
clear
public void clear()
- Specified by:
clear in interface Collection<MCRCategory>- Specified by:
clear in interface List<MCRCategory>- Overrides:
clear in class ArrayList<MCRCategory>
remove
public MCRCategory remove(int index)
- Specified by:
remove in interface List<MCRCategory>- Overrides:
remove in class ArrayList<MCRCategory>
remove
public boolean remove(Object o)
- Specified by:
remove in interface Collection<MCRCategory>- Specified by:
remove in interface List<MCRCategory>- Overrides:
remove in class ArrayList<MCRCategory>
removeRange
protected void removeRange(int fromIndex,
int toIndex)
- Overrides:
removeRange in class ArrayList<MCRCategory>
set
public MCRCategory set(int index,
MCRCategory element)
- Specified by:
set in interface List<MCRCategory>- Overrides:
set in class ArrayList<MCRCategory>