
org.wiztools.commons.MultiValueMap Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commons-lib Show documentation
Show all versions of commons-lib Show documentation
Commons library used across WizTools.org projects
The newest version!
/*
* 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