com.github.grzesiek_galezowski.collections.readonly.interfaces.ReadOnlyMap Maven / Gradle / Ivy
package com.github.grzesiek_galezowski.collections.readonly.interfaces;
import java.util.Map;
import java.util.function.BiConsumer;
public interface ReadOnlyMap {
int size();
boolean isEmpty();
boolean containsKey(Object key);
boolean containsValue(Object value);
V get(Object key);
ReadOnlySet keySet();
ReadOnlyCollection values();
ReadOnlySet> entrySet();
boolean equals(Object o);
int hashCode();
V getOrDefault(Object key, V defaultValue);
void forEach(BiConsumer super K, ? super V> action);
}