facets.util
Class ItemList.TreeItems<C>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<T>
              extended by facets.util.ItemList<C>
                  extended by facets.util.ItemList.TreeItems<C>
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<C>, java.util.Collection<C>, java.util.List<C>, java.util.RandomAccess
Enclosing class:
ItemList<T>

public abstract static class ItemList.TreeItems<C>
extends ItemList<C>

ItemList that can traverse a generic tree.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class facets.util.ItemList
ItemList.TreeItems<C>
 
Field Summary
 
Fields inherited from class facets.util.ItemList
defaultSize, itemType
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
ItemList.TreeItems(java.lang.Class itemType, C root)
           
 
Method Summary
protected abstract  C[] getChildren(C parent)
           
 
Methods inherited from class facets.util.ItemList
addItem, addItems, items
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, 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

ItemList.TreeItems

public ItemList.TreeItems(java.lang.Class itemType,
                          C root)
Method Detail

getChildren

protected abstract C[] getChildren(C parent)