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

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

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

import com.google.common.collect.Multimap;
import java.util.Collection;
import java.util.Set;
import javax.annotation.Nullable;

/**
 * A {@link Multitable} which cannot hold duplicate row key, column key, value triples.
 *
 * @author Chester Palen-Michel, Constantine Lignos, Ryan Gabbard
 */
public interface SetMultitable extends Multitable {

  @Override
  Collection get(@Nullable Object rowKey, @Nullable Object columnKey);

  Set getAsSet(@Nullable Object rowKey, @Nullable Object columnKey);

  @Override
  Multimap row(R rowKey);

  @Override
  Multimap column(C columnKey);

  @Override
  Collection values();

  @Override
  Set> cellSet();

  interface SetMulticell extends Multicell {
    @Override
    Set getValues();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy