Class MultimapBuilder.TreeSetSupplier<V>

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

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

    • comparator

      private final Comparator<? super V> comparator
  • Constructor Details

    • TreeSetSupplier

      TreeSetSupplier(Comparator<? super V> comparator)
  • Method Details

    • get

      public SortedSet<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