Class MultimapBuilder.LinkedHashSetSupplier<V>

java.lang.Object
com.google.common.collect.MultimapBuilder.LinkedHashSetSupplier<V>
All Implemented Interfaces:
Supplier<Set<V>>, Serializable, Supplier<Set<V>>
Enclosing class:
MultimapBuilder<K0,V0>

private static final class MultimapBuilder.LinkedHashSetSupplier<V> extends Object implements Supplier<Set<V>>, Serializable
  • Field Details

    • expectedValuesPerKey

      private final int expectedValuesPerKey
  • Constructor Details

    • LinkedHashSetSupplier

      LinkedHashSetSupplier(int expectedValuesPerKey)
  • Method Details

    • get

      public Set<V> get()
      Description copied from interface: Supplier
      Retrieves an instance of the appropriate type. The returned object may or may not be a new instance, depending on the implementation.
      Specified by:
      get in interface Supplier<V>
      Specified by:
      get in interface Supplier<V>
      Returns:
      an instance of the appropriate type