Package com.google.common.collect
Enum MultimapBuilder.LinkedListSupplier
- java.lang.Object
-
- java.lang.Enum<MultimapBuilder.LinkedListSupplier>
-
- com.google.common.collect.MultimapBuilder.LinkedListSupplier
-
- All Implemented Interfaces:
Supplier<java.util.List<java.lang.Object>>
,java.io.Serializable
,java.lang.Comparable<MultimapBuilder.LinkedListSupplier>
,java.util.function.Supplier<java.util.List<java.lang.Object>>
- Enclosing class:
- MultimapBuilder<K0,V0>
private static enum MultimapBuilder.LinkedListSupplier extends java.lang.Enum<MultimapBuilder.LinkedListSupplier> implements Supplier<java.util.List<java.lang.Object>>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description private
LinkedListSupplier()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.Object>
get()
Retrieves an instance of the appropriate type.static <V> Supplier<java.util.List<V>>
instance()
static MultimapBuilder.LinkedListSupplier
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MultimapBuilder.LinkedListSupplier[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final MultimapBuilder.LinkedListSupplier INSTANCE
-
-
Method Detail
-
values
public static MultimapBuilder.LinkedListSupplier[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MultimapBuilder.LinkedListSupplier c : MultimapBuilder.LinkedListSupplier.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MultimapBuilder.LinkedListSupplier valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
instance
public static <V> Supplier<java.util.List<V>> instance()
-
get
public java.util.List<java.lang.Object> 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.
-
-