org.apache.directory.server.core.cursor
Interface CursorState<E>
public interface CursorState<E>
A Cursor's state: cursor states leverage the State Pattern to isolate state
specific transition logic with certain operations. Not every Cursor is
that complex so the implementor should decide whether or not using the
State Pattern is over kill on a per Cursor implementation basis.
- Version:
- $Rev$, $Date$
- Author:
- Apache Directory Project
before
void before(E element)
throws java.lang.Exception
- Throws:
java.lang.Exception
after
void after(E element)
throws java.lang.Exception
- Throws:
java.lang.Exception
beforeFirst
void beforeFirst()
throws java.lang.Exception
- Throws:
java.lang.Exception
afterLast
void afterLast()
throws java.lang.Exception
- Throws:
java.lang.Exception
first
boolean first()
throws java.lang.Exception
- Throws:
java.lang.Exception
last
boolean last()
throws java.lang.Exception
- Throws:
java.lang.Exception
previous
boolean previous()
throws java.lang.Exception
- Throws:
java.lang.Exception
next
boolean next()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.