
com.github.jnthnclt.os.lab.collections.oh.OH Maven / Gradle / Ivy
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 - 2025 Weber Informatics LLC | Privacy Policy