ch.bfh.algo.core.sequence
Class LinkedCursor<E,P extends GenericLinkedPosition<E,P>>
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinkedCursor
public LinkedCursor(P previous,
P next)
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