ch.bfh.algo.core.forest
Class GenericNode<E,P extends GenericNode<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>
- All Implemented Interfaces:
- GenericPosition<E,P>, Observable, Position<E>
- Direct Known Subclasses:
- GenericBinaryNode, Node
public class GenericNode<E,P extends GenericNode<E,P>>
- extends GenericVertex<Object,E,GenericLink<E,P>,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 |
GenericNode
public GenericNode()
setLinkPosition
protected void setLinkPosition(LinkedPosition<GenericLink<E,P>> pos)
getLinkPosition
protected LinkedPosition<GenericLink<E,P>> getLinkPosition()
markRoot
protected void markRoot(LinkedSequence<P> roots)
unmarkRoot
protected void unmarkRoot()