ch.bfh.algo.core.forest
Class GenericNode<E,P extends GenericNode<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>
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>


Constructor Summary
GenericNode()
           
 
Method Summary
protected  LinkedPosition<GenericLink<E,P>> getLinkPosition()
           
protected  void markRoot(LinkedSequence<P> roots)
           
protected  void setLinkPosition(LinkedPosition<GenericLink<E,P>> pos)
           
protected  void 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

GenericNode

public GenericNode()
Method Detail

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()