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

org.aksw.commons.collections.multimaps.ISetMultimap Maven / Gradle / Ivy

There is a newer version: 0.9.9
Show newest version
package org.aksw.commons.collections.multimaps;

import java.util.Collection;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;

import com.google.common.collect.SetMultimap;

public interface ISetMultimap
{
	//Map> asMap();
    SetMultimap asMultimap();
    	
	boolean put(K key, V value);

	void putAll(K key, Collection values);
	void putAll(ISetMultimap other);
	
	Set removeAll(Object key);
	
	Set get(Object key);
	
	Set keySet();
	Collection keys();
	Set> entries();

    boolean containsEntry(Object key, Object value);
    boolean containsValue(Object value);
    boolean containsKey(Object key);

    int size();

	void clear();
	boolean isEmpty();
	
    default Map> asMap() {
        return asMultimap().asMap();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy