ch.bfh.algo.forest
Class DefaultBinaryForest<E>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.AbstractSequentialList<E>
              extended by ch.bfh.algo.core.sequence.GenericLinkedSequence<V,PV>
                  extended by ch.bfh.algo.core.graph.GenericAdjacencyListGraph<Object,E,GenericLink<E,P>,P>
                      extended by ch.bfh.algo.core.forest.GenericForestGraph<E,P>
                          extended by ch.bfh.algo.core.forest.GenericBinaryForestGraph<E,BinaryNode<E>>
                              extended by ch.bfh.algo.forest.DefaultBinaryForest<E>
All Implemented Interfaces:
BinaryForest<E>, Container<E>, GenericBinaryForest<E,BinaryNode<E>>, GenericContainer<E,BinaryNode<E>>, GenericForest<E,BinaryNode<E>>, GenericGraph<Object,E,GenericLink<E,BinaryNode<E>>,BinaryNode<E>>, GenericSequence<E,BinaryNode<E>>, Forest<E>, Graph<Object,E>, Sequence<E>, Iterable<E>, Collection<E>, List<E>

public class DefaultBinaryForest<E>
extends GenericBinaryForestGraph<E,BinaryNode<E>>


Field Summary
 
Fields inherited from class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
factory
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
DefaultBinaryForest()
           
DefaultBinaryForest(BinaryForest<E> f)
           
DefaultBinaryForest(Collection<? extends E> c)
           
DefaultBinaryForest(DefaultBinaryForest<E> f)
           
DefaultBinaryForest(ForestFactory<BinaryNode<E>> factory)
           
DefaultBinaryForest(ForestFactory<BinaryNode<E>> factory, BinaryForest<? extends E> f)
           
 
Method Summary
 
Methods inherited from class ch.bfh.algo.core.forest.GenericBinaryForestGraph
childLeft, childLeft, childRight, childRight, cut, deleteVertex, link, linkAfter, linkBefore, linkLeft, linkLeft, linkRight, linkRight
 
Methods inherited from class ch.bfh.algo.core.forest.GenericForestGraph
children, cut, insertBetween, link, linkAfter, linkBefore, parent, roots
 
Methods inherited from class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
adjacentVertices, adjacentVertices, delete, deleteEdge, deleteEdge, deleteVertex, destination, destination, detach, detachVertex, edgeElement, edgeElement, edgeElements, edges, edges, getFactory, incidentEdges, incidentEdges, insertAfter, insertBefore, insertEdge, insertEdge, insertEdge, insertVertex, isDirected, isDirected, opposite, opposite, origin, origin, positionListIterator, positionListIterator, replaceEdge, replaceVertex, reverse, reverse, setDestination, setDestination, setDirected, setDirected, setOrigin, setOrigin, setOriginAfter, setOriginBefore, setUndirected, setUndirected, swapEdge, swapVertex, vertexElement, vertexElements, vertices
 
Methods inherited from class ch.bfh.algo.core.sequence.GenericLinkedSequence
after, after, before, before, delete, element, element, encloses, encloses, first, head, insert, insert, insertAfter, insertBefore, insertBetween, last, listIterator, position, positionIterator, rank, rank, replace, replace, size, swap, swap, tail, validate
 
Methods inherited from class java.util.AbstractSequentialList
add, addAll, get, iterator, remove, set
 
Methods inherited from class java.util.AbstractList
add, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, removeRange, subList
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ch.bfh.algo.Forest
children, cut, link, linkAfter, linkBefore, parent, roots
 
Methods inherited from interface ch.bfh.algo.Container
delete, element, encloses, insert, positionIterator, replace, swap
 
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from interface ch.bfh.algo.core.GenericContainer
insert, positionIterator
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, remove, remove, removeAll, retainAll, set, subList, toArray, toArray
 

Constructor Detail

DefaultBinaryForest

public DefaultBinaryForest()

DefaultBinaryForest

public DefaultBinaryForest(ForestFactory<BinaryNode<E>> factory)

DefaultBinaryForest

public DefaultBinaryForest(Collection<? extends E> c)

DefaultBinaryForest

public DefaultBinaryForest(BinaryForest<E> f)

DefaultBinaryForest

public DefaultBinaryForest(DefaultBinaryForest<E> f)

DefaultBinaryForest

public DefaultBinaryForest(ForestFactory<BinaryNode<E>> factory,
                           BinaryForest<? extends E> f)