ch.bfh.algo.core.sequence
Class LinkedCursor<E,P extends GenericLinkedPosition<E,P>>

java.lang.Object
  extended by ch.bfh.algo.core.sequence.LinkedCursor<E,P>
All Implemented Interfaces:
Observer

public class LinkedCursor<E,P extends GenericLinkedPosition<E,P>>
extends Object
implements Observer


Constructor Summary
LinkedCursor(P previous, P next)
           
 
Method Summary
 void attach()
           
 void detach()
           
 P getNext()
           
 P getPrevious()
           
 void moveNext()
           
 void movePrevious()
           
 void updateAfter()
           
 void updateBefore()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkedCursor

public LinkedCursor(P previous,
                    P next)
Method Detail

getPrevious

public P getPrevious()

getNext

public P getNext()

attach

public void attach()

detach

public void detach()

moveNext

public void moveNext()

movePrevious

public void movePrevious()

updateBefore

public void updateBefore()
Specified by:
updateBefore in interface Observer

updateAfter

public void updateAfter()
Specified by:
updateAfter in interface Observer