All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.jnthnclt.os.lab.collections.baph.BAPH Maven / Gradle / Ivy

There is a newer version: 1.12.2
Show newest version
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 - 2024 Weber Informatics LLC | Privacy Policy