org.apache.directory.server.core.partition.impl.btree
Class ValueArrayCursor<K,V>
java.lang.Object
org.apache.directory.shared.ldap.cursor.AbstractCursor<Tuple<K,V>>
org.apache.directory.server.core.partition.impl.btree.ValueArrayCursor<K,V>
- All Implemented Interfaces:
- java.lang.Iterable<Tuple<K,V>>, org.apache.directory.shared.ldap.cursor.Cursor<Tuple<K,V>>
public class ValueArrayCursor<K,V>
- extends org.apache.directory.shared.ldap.cursor.AbstractCursor<Tuple<K,V>>
A Cursor which returns the values of a single key as Tuples.
- Version:
- $Rev$, $Date$
- Author:
- Apache Directory Project
Methods inherited from class org.apache.directory.shared.ldap.cursor.AbstractCursor |
checkNotClosed, close, close, isClosed, iterator, setClosureMonitor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValueArrayCursor
public ValueArrayCursor(K key,
V[] values)
ValueArrayCursor
public ValueArrayCursor(K key,
java.util.List<V> values)
available
public boolean available()
before
public void before(Tuple<K,V> element)
throws java.lang.Exception
- Throws:
java.lang.Exception
after
public void after(Tuple<K,V> element)
throws java.lang.Exception
- Throws:
java.lang.Exception
beforeFirst
public void beforeFirst()
throws java.lang.Exception
- Throws:
java.lang.Exception
afterLast
public void afterLast()
throws java.lang.Exception
- Throws:
java.lang.Exception
absolute
public boolean absolute(int absolutePosition)
throws java.lang.Exception
- Throws:
java.lang.Exception
first
public boolean first()
throws java.lang.Exception
- Throws:
java.lang.Exception
last
public boolean last()
throws java.lang.Exception
- Throws:
java.lang.Exception
isFirst
public boolean isFirst()
throws java.lang.Exception
- Throws:
java.lang.Exception
isLast
public boolean isLast()
throws java.lang.Exception
- Throws:
java.lang.Exception
isAfterLast
public boolean isAfterLast()
throws java.lang.Exception
- Throws:
java.lang.Exception
isBeforeFirst
public boolean isBeforeFirst()
throws java.lang.Exception
- Throws:
java.lang.Exception
previous
public boolean previous()
throws java.lang.Exception
- Throws:
java.lang.Exception
next
public boolean next()
throws java.lang.Exception
- Throws:
java.lang.Exception
get
public Tuple<K,V> get()
throws java.lang.Exception
- Throws:
java.lang.Exception
isElementReused
public boolean isElementReused()
Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.