Tabnine Logo
LinkedHashMultimap$ValueSet
Code IndexAdd Tabnine to your IDE (free)

How to use
LinkedHashMultimap$ValueSet
in
com.google.common.collect

Best Java code snippets using com.google.common.collect.LinkedHashMultimap$ValueSet (Showing top 15 results out of 315)

origin: google/guava

public void testValueSetHashTableExpansion() {
 LinkedHashMultimap<String, Integer> multimap = LinkedHashMultimap.create();
 for (int z = 1; z <= 100; z++) {
  multimap.put("a", z);
  // The Eclipse compiler (and hence GWT) rejects a parameterized cast.
  @SuppressWarnings("unchecked")
  LinkedHashMultimap<String, Integer>.ValueSet valueSet =
    (LinkedHashMultimap.ValueSet) multimap.backingMap().get("a");
  assertEquals(z, valueSet.size());
  assertFalse(
    Hashing.needsResizing(
      valueSet.size(),
      valueSet.hashTable.length,
      LinkedHashMultimap.VALUE_SET_LOAD_FACTOR));
 }
}
origin: org.kill-bill.billing/killbill-osgi-bundles-jruby

/**
 * {@inheritDoc}
 *
 * <p>Creates a decorated insertion-ordered set that also keeps track of the
 * order in which key-value pairs are added to the multimap.
 *
 * @param key key to associate with values in the collection
 * @return a new decorated set containing a collection of values for one key
 */
@Override
Collection<V> createCollection(K key) {
 return new ValueSet(key, valueSetCapacity);
}
origin: org.hudsonci.lib.guava/guava

/**
 * {@inheritDoc}
 *
 * <p>Creates a decorated insertion-ordered set that also keeps track of the
 * order in which key-value pairs are added to the multimap.
 *
 * @param key key to associate with values in the collection
 * @return a new decorated set containing a collection of values for one key
 */
@Override
Collection<V> createCollection(K key) {
 return new ValueSet(key, valueSetCapacity);
}
origin: com.google.guava/guava-tests

public void testValueSetHashTableExpansion() {
 LinkedHashMultimap<String, Integer> multimap = LinkedHashMultimap.create();
 for (int z = 1; z <= 100; z++) {
  multimap.put("a", z);
  // The Eclipse compiler (and hence GWT) rejects a parameterized cast.
  @SuppressWarnings("unchecked")
  LinkedHashMultimap<String, Integer>.ValueSet valueSet =
    (LinkedHashMultimap.ValueSet) multimap.backingMap().get("a");
  assertEquals(z, valueSet.size());
  assertFalse(Hashing.needsResizing(valueSet.size(), valueSet.hashTable.length,
    LinkedHashMultimap.VALUE_SET_LOAD_FACTOR));
 }
}
origin: Nextdoor/bender

/**
 * {@inheritDoc}
 *
 * <p>Creates a decorated insertion-ordered set that also keeps track of the
 * order in which key-value pairs are added to the multimap.
 *
 * @param key key to associate with values in the collection
 * @return a new decorated set containing a collection of values for one key
 */
@Override
Collection<V> createCollection(K key) {
 return new ValueSet(key, valueSetCapacity);
}
origin: com.ning.billing/killbill-osgi-bundles-analytics

/**
 * {@inheritDoc}
 *
 * <p>Creates a decorated insertion-ordered set that also keeps track of the
 * order in which key-value pairs are added to the multimap.
 *
 * @param key key to associate with values in the collection
 * @return a new decorated set containing a collection of values for one key
 */
@Override
Collection<V> createCollection(K key) {
 return new ValueSet(key, valueSetCapacity);
}
origin: com.diffplug.guava/guava-collect

/**
 * {@inheritDoc}
 *
 * <p>Creates a decorated insertion-ordered set that also keeps track of the
 * order in which key-value pairs are added to the multimap.
 *
 * @param key key to associate with values in the collection
 * @return a new decorated set containing a collection of values for one key
 */
@Override
Collection<V> createCollection(K key) {
  return new ValueSet(key, valueSetCapacity);
}
origin: com.google.guava/guava-jdk5

/**
 * {@inheritDoc}
 *
 * <p>Creates a decorated insertion-ordered set that also keeps track of the
 * order in which key-value pairs are added to the multimap.
 *
 * @param key key to associate with values in the collection
 * @return a new decorated set containing a collection of values for one key
 */
@Override
Collection<V> createCollection(K key) {
 return new ValueSet(key, valueSetCapacity);
}
origin: org.kill-bill.billing/killbill-platform-osgi-bundles-logger

/**
 * {@inheritDoc}
 *
 * <p>Creates a decorated insertion-ordered set that also keeps track of the order in which
 * key-value pairs are added to the multimap.
 *
 * @param key key to associate with values in the collection
 * @return a new decorated set containing a collection of values for one key
 */
@Override
Collection<V> createCollection(K key) {
 return new ValueSet(key, valueSetCapacity);
}
origin: com.ning.billing/killbill-osgi-bundles-jruby

/**
 * {@inheritDoc}
 *
 * <p>Creates a decorated insertion-ordered set that also keeps track of the
 * order in which key-value pairs are added to the multimap.
 *
 * @param key key to associate with values in the collection
 * @return a new decorated set containing a collection of values for one key
 */
@Override
Collection<V> createCollection(K key) {
 return new ValueSet(key, valueSetCapacity);
}
origin: org.jboss.eap/wildfly-client-all

/**
 * {@inheritDoc}
 *
 * <p>Creates a decorated insertion-ordered set that also keeps track of the order in which
 * key-value pairs are added to the multimap.
 *
 * @param key key to associate with values in the collection
 * @return a new decorated set containing a collection of values for one key
 */
@Override
Collection<V> createCollection(K key) {
 return new ValueSet(key, valueSetCapacity);
}
origin: at.bestsolution.efxclipse.eclipse/com.google.guava

/**
 * {@inheritDoc}
 *
 * <p>Creates a decorated insertion-ordered set that also keeps track of the
 * order in which key-value pairs are added to the multimap.
 *
 * @param key key to associate with values in the collection
 * @return a new decorated set containing a collection of values for one key
 */
@Override
Collection<V> createCollection(K key) {
 return new ValueSet(key, valueSetCapacity);
}
origin: wildfly/wildfly

/**
 * {@inheritDoc}
 *
 * <p>Creates a decorated insertion-ordered set that also keeps track of the order in which
 * key-value pairs are added to the multimap.
 *
 * @param key key to associate with values in the collection
 * @return a new decorated set containing a collection of values for one key
 */
@Override
Collection<V> createCollection(K key) {
 return new ValueSet(key, valueSetCapacity);
}
origin: google/j2objc

/**
 * {@inheritDoc}
 *
 * <p>Creates a decorated insertion-ordered set that also keeps track of the order in which
 * key-value pairs are added to the multimap.
 *
 * @param key key to associate with values in the collection
 * @return a new decorated set containing a collection of values for one key
 */
@Override
Collection<V> createCollection(K key) {
 return new ValueSet(key, valueSetCapacity);
}
origin: google/guava

/**
 * {@inheritDoc}
 *
 * <p>Creates a decorated insertion-ordered set that also keeps track of the order in which
 * key-value pairs are added to the multimap.
 *
 * @param key key to associate with values in the collection
 * @return a new decorated set containing a collection of values for one key
 */
@Override
Collection<V> createCollection(K key) {
 return new ValueSet(key, valueSetCapacity);
}
com.google.common.collectLinkedHashMultimap$ValueSet

Most used methods

  • <init>
  • size

Popular in Java

  • Updating database using SQL prepared statement
  • scheduleAtFixedRate (ScheduledExecutorService)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getContentResolver (Context)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now