ch.bfh.algo.core.sequence
Class ConcreteLocator<E,P extends ConcretePosition<E,P>>

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

public class ConcreteLocator<E,P extends ConcretePosition<E,P>>
extends Object
implements GenericLocator<E,P>


Field Summary
protected  E element
           
 
Constructor Summary
ConcreteLocator()
           
 
Method Summary
 E element()
           
 P position()
           
protected  void setElement(E element)
           
protected  void setPosition(P position)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

element

protected E element
Constructor Detail

ConcreteLocator

public ConcreteLocator()
Method Detail

element

public E element()
Specified by:
element in interface Locator<E>

setElement

protected void setElement(E element)

position

public P position()
Specified by:
position in interface GenericLocator<E,P extends ConcretePosition<E,P>>
Specified by:
position in interface Locator<E>

setPosition

protected void setPosition(P position)