org.mycore.datamodel.classifications2.impl
Class MCRCategoryChildList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<MCRCategory>
              extended by org.mycore.datamodel.classifications2.impl.MCRCategoryChildList
All Implemented Interfaces:
Serializable, Cloneable, Iterable<MCRCategory>, Collection<MCRCategory>, List<MCRCategory>, RandomAccess

 class MCRCategoryChildList
extends ArrayList<MCRCategory>


Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
MCRCategoryChildList(MCRCategory root, MCRCategory thisCategory)
           
 
Method Summary
 void add(int index, MCRCategory element)
           
 boolean add(MCRCategory e)
           
 boolean addAll(Collection<? extends MCRCategory> c)
           
 boolean addAll(int index, Collection<? extends MCRCategory> c)
           
 void clear()
           
 MCRCategory remove(int index)
           
 boolean remove(Object o)
           
protected  void removeRange(int fromIndex, int toIndex)
           
 MCRCategory set(int index, MCRCategory element)
           
 
Methods inherited from class java.util.ArrayList
clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

MCRCategoryChildList

public MCRCategoryChildList(MCRCategory root,
                            MCRCategory thisCategory)
Parameters:
root -
thisCategory -
Method Detail

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>