ch.bfh.algo.core.forest
Class GenericBinaryNode<E,P extends GenericBinaryNode<E,P>>
java.lang.Object
ch.bfh.algo.core.sequence.ConcretePosition<E,P>
ch.bfh.algo.core.sequence.GenericLinkedPosition<V,PV>
ch.bfh.algo.core.graph.GenericVertex<Object,E,GenericLink<E,P>,P>
ch.bfh.algo.core.forest.GenericNode<E,P>
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>
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericBinaryNode
public GenericBinaryNode()
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)