org.helidb.backend
Interface ForEachKeyCallback<K,P>
- Type Parameters:
K - The type of keys in the database.P - The type of position of database records.
public interface ForEachKeyCallback<K,P>
This interface defines the callback that is used by the
DatabaseBackend.forEachKey(ForEachKeyCallback) method.
- Since:
- 1.0
- Author:
- Karl Gustafsson
- In_jar:
- helidb-core
|
Method Summary |
boolean |
reportKey(P pos,
K key)
Report a key. |
reportKey
boolean reportKey(P pos,
K key)
- Report a key.
- Parameters:
pos - The position of the database record containing the key.key - The key.
- Returns:
true if the iteration over the key should continue,
false if it should be aborted.