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

org.wiztools.commons.MultiValueMap Maven / Gradle / Ivy

/*
 * Copyright WizTools.org
 * Licensed under the Apache License, Version 2.0:
 * http://www.apache.org/licenses/LICENSE-2.0
 */
package org.wiztools.commons;

import java.util.Collection;
import java.util.Set;

/**
 * An interface defining a Map construct which supports multiple-values per key.
 * @author subwiz
 */
public interface MultiValueMap {

    void clear();

    boolean containsKey(K key);

    boolean containsValue(V value);

    Collection get(K key);

    boolean isEmpty();

    Set keySet();

    Collection put(K key, V value);

    Collection remove(K key);

    int size();

    Collection values();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy