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

edu.isi.nlp.collections.KeyValueSink Maven / Gradle / Ivy

The newest version!
package edu.isi.nlp.collections;

import java.util.Map;

/**
 * Something which consumes mappings between objects. This is mostly for eliding the difference
 * between {@link java.util.Map}s and {@link com.google.common.collect.Multimap}s in some cases.
 *
 * 

Note this unfortunately collides in name with {@link edu.isi.nlp.files.KeyValueSink}. */ public interface KeyValueSink { KeyValueSink put(K key, V value); KeyValueSink put(Map.Entry entry); KeyValueSink putAll(Iterable> entries); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy