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

com.vladsch.flexmark.util.collection.IndexedItemSetMap Maven / Gradle / Ivy

package com.vladsch.flexmark.util.collection;

import org.jetbrains.annotations.NotNull;

import java.util.Map;

public interface IndexedItemSetMap extends Map {
    @NotNull M mapKey(@NotNull K key);

    @NotNull S newSet();
    boolean addSetItem(@NotNull S s, int item);
    boolean removeSetItem(@NotNull S s, int item);
    boolean containsSetItem(@NotNull S s, int item);

    @SuppressWarnings("UnusedReturnValue")
    boolean addItem(@NotNull K key, int item);
    @SuppressWarnings("UnusedReturnValue")
    boolean removeItem(@NotNull K key, int item);
    boolean containsItem(@NotNull K key, int item);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy