JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev Class
Next Class
Frames
No Frames
All Classes
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
com.google.common.base
Interface Supplier<T>
All Known Implementing Classes:
HashBasedTable.Factory
,
Hashing.ChecksumType
,
MultimapBuilder.ArrayListSupplier
,
MultimapBuilder.EnumSetSupplier
,
MultimapBuilder.HashSetSupplier
,
MultimapBuilder.LinkedHashSetSupplier
,
MultimapBuilder.LinkedListSupplier
,
MultimapBuilder.TreeSetSupplier
,
Suppliers.ExpiringMemoizingSupplier
,
Suppliers.MemoizingSupplier
,
Suppliers.SupplierComposition
,
Suppliers.SupplierOfInstance
,
Suppliers.ThreadSafeSupplier
,
TreeBasedTable.Factory
@GwtCompatible
public interface
Supplier<T>
A class that can supply objects of a single type. Semantically, this could be a factory, generator, builder, closure, or something else entirely. No guarantees are implied by this interface.
Since:
2.0 (imported from Google Collections Library)
Method Summary
All Methods
Instance Methods
Abstract Methods
Modifier and Type
Method and Description
T
get
()
Retrieves an instance of the appropriate type.
Method Detail
get
T
get()
Retrieves an instance of the appropriate type. The returned object may or may not be a new instance, depending on the implementation.
Returns:
an instance of the appropriate type
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev Class
Next Class
Frames
No Frames
All Classes
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method