org.saager.enumerator
Class Cursor<T>

java.lang.Object
  extended by org.saager.enumerator.Cursor<T>

public abstract class Cursor<T>
extends java.lang.Object


Field Summary
 int index
           
 T value
           
 
Constructor Summary
Cursor(T value, int index)
           
 
Method Summary
abstract  boolean hasSuccessor()
           
 boolean isFirst()
           
abstract  boolean remove()
           
abstract  boolean update(T obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public final T value

index

public final int index
Constructor Detail

Cursor

Cursor(T value,
       int index)
Method Detail

update

public abstract boolean update(T obj)

remove

public abstract boolean remove()

isFirst

public boolean isFirst()

hasSuccessor

public abstract boolean hasSuccessor()