Enum Class MultimapBuilder.LinkedListSupplier

java.lang.Object
java.lang.Enum<MultimapBuilder.LinkedListSupplier>
com.google.common.collect.MultimapBuilder.LinkedListSupplier
All Implemented Interfaces:
Supplier<List<?>>, Serializable, Comparable<MultimapBuilder.LinkedListSupplier>, Constable, Supplier<List<?>>
Enclosing class:
MultimapBuilder<K0,V0>

private static enum MultimapBuilder.LinkedListSupplier extends Enum<MultimapBuilder.LinkedListSupplier> implements Supplier<List<?>>
  • Enum Constant Details

  • Constructor Details

    • LinkedListSupplier

      private LinkedListSupplier()
  • Method Details

    • values

      public static MultimapBuilder.LinkedListSupplier[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static MultimapBuilder.LinkedListSupplier valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • instance

      public static <V> Supplier<List<V>> instance()
    • get

      public List<?> 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<List<?>>
      Specified by:
      get in interface Supplier<List<?>>
      Returns:
      an instance of the appropriate type