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

com.github.jnthnclt.os.lab.collections.oh.OH Maven / Gradle / Ivy

There is a newer version: 1.12.2
Show newest version
package com.github.jnthnclt.os.lab.collections.oh;

import com.github.jnthnclt.os.lab.collections.KeyValueStream;
import java.util.concurrent.Semaphore;

/**
 *
 * @author jonathan.colt
 */
public interface OH {

    void clear();

    V get(K key);

    V get(long hashCode, K key);

    void put(K key, V value);

    @SuppressWarnings(value = "unchecked")
    void put(long hashCode, K key, V value);

    void remove(K key);

    @SuppressWarnings(value = "unchecked")
    void remove(long hashCode, K key);

    long size();

    boolean stream(Semaphore semaphore, KeyValueStream stream) throws Exception;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy