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

js.util.collections.ReadonlyStringMap Maven / Gradle / Ivy

package js.util.collections;

import js.lang.Any;
import js.util.function.StringKeyConsumer;
import js.util.iterable.IterableIterator;
import js.util.iterable.StringIterableIterator;
import org.teavm.jso.JSProperty;


public interface ReadonlyStringMap extends IterableIterator>, Any {
    void forEach(StringKeyConsumer> callbackfn);

    V get(String key);

    boolean has(String key);

    @JSProperty
    int getSize();

    /**
     * Returns an iterable of key, value pairs for every entry in the map.
     */
    IterableIterator> entries();

    /**
     * Returns an iterable of keys in the map
     */
    StringIterableIterator keys();

    /**
     * Returns an iterable of values in the map
     */
    IterableIterator values();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy