
com.github.jnthnclt.os.lab.collections.baph.BAPH Maven / Gradle / Ivy
package com.github.jnthnclt.os.lab.collections.baph;
import com.github.jnthnclt.os.lab.collections.KeyValueStream;
/**
*
* @author jonathan.colt
*/
public interface BAPH {
void clear();
V get(byte[] key, int keyOffset, int keyLength) throws Exception;
V get(long hashCode, byte[] key, int keyOffset, int keyLength) throws Exception;
void put(long keyPointer, byte[] key, V value) throws Exception;
@SuppressWarnings(value = "unchecked")
void put(long hashCode, long keyPointer, byte[] key, V value) throws Exception;
void remove(byte[] key, int keyOffset, int keyLength) throws Exception;
@SuppressWarnings(value = "unchecked")
void remove(long hashCode, byte[] key, int keyOffset, int keyLength) throws Exception;
long size();
boolean stream(KeyValueStream stream) throws Exception;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy