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

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 action);
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy