Example usage for com.google.common.collect SetMultimap interface-usage

List of usage examples for com.google.common.collect SetMultimap interface-usage

Introduction

In this page you can find the example usage for com.google.common.collect SetMultimap interface-usage.

Usage

From source file com.github.rinde.rinsim.util.CategoryMap.java

/**
 * A category can have multiple values, a value can be in only one category.
 *
 * Trades memory for cpu speed. Lookups are O(1) on both keys and values.
 *
 * This datastructure is useful in case you want to regularly look up:

From source file org.apache.accumulo.examples.wikisearch.parser.EventFields.java

/**
 * Object used to hold the fields in an event. This is a multimap because fields can be repeated.
 */
public class EventFields implements SetMultimap<String, FieldValue>, CustomSerialization {

    private static boolean kryoInitialized = false;

From source file org.calrissian.accumulorecipes.commons.iterators.support.EventFields.java

/**
 * Object used to hold the fields in an event. This is a multimap because fields can be repeated.
 */
public class EventFields implements SetMultimap<String, FieldValue>, CustomSerialization {

    private static boolean kryoInitialized = false;

From source file io.janusproject.kernel.services.hazelcast.HazelcastDMultiMapView.java

/**
 * A view from the Hazelcast multimap to DMultiMap.
 *
 * @param <K> - type of the keys.
 * @param <V> - type of the values.
 * @author $Author: sgalland$

From source file com.jcwhatever.nucleus.collections.MultiBiMap.java

/**
 * Allows adding multiple values per key.
 *
 * <p>Also allows getting keys based on value.</p>
 *
 * @param <K> Key type