ch.bfh.algo.core.forest
Class GenericBinaryNode<E,P extends GenericBinaryNode<E,P>>

java.lang.Object
  extended by ch.bfh.algo.core.sequence.ConcretePosition<E,P>
      extended by ch.bfh.algo.core.sequence.GenericLinkedPosition<V,PV>
          extended by ch.bfh.algo.core.graph.GenericVertex<Object,E,GenericLink<E,P>,P>
              extended by ch.bfh.algo.core.forest.GenericNode<E,P>
                  extended by ch.bfh.algo.core.forest.GenericBinaryNode<E,P>
All Implemented Interfaces:
GenericPosition<E,P>, Observable, Position<E>
Direct Known Subclasses:
BinaryNode

public class GenericBinaryNode<E,P extends GenericBinaryNode<E,P>>
extends GenericNode<E,P>


Constructor Summary
GenericBinaryNode()
           
 
Method Summary
protected  void cleanParent(P parent)
           
protected  P left()
           
protected  P right()
           
protected  void setLeft(P child)
           
protected  void setRight(P child)
           
 
Methods inherited from class ch.bfh.algo.core.forest.GenericNode
getLinkPosition, markRoot, setLinkPosition, unmarkRoot
 
Methods inherited from class ch.bfh.algo.core.graph.GenericVertex
adjacentVertices, attachInDirected, attachInUndirected, attachOutDirected, attachOutDirectedAfter, attachOutDirectedBefore, attachOutUndirected, attachOutUndirectedAfter, attachOutUndirectedBefore, delete, incidentEdges, insert
 
Methods inherited from class ch.bfh.algo.core.sequence.GenericLinkedPosition
attachAfter, attachBefore, container, detachAfter, detachBefore, getNext, getPrevious, notifyAfter, notifyBefore, setNext, setPrevious
 
Methods inherited from class ch.bfh.algo.core.sequence.ConcretePosition
element, locator, replace, setContainer, setLocator, swap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericBinaryNode

public GenericBinaryNode()
Method Detail

setLeft

protected void setLeft(P child)

setRight

protected void setRight(P child)

left

protected P left()

right

protected P right()

cleanParent

protected void cleanParent(P parent)