com.google.common.base
Interface Supplier<T>
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.
- Author:
- Harry Heymann
|
Method Summary |
T |
get()
Retrieve an instance of the appropriate type. |
get
T get()
- Retrieve an instance of the appropriate type. The returned object may or
may not be a new instance, depending on the implementation.
Copyright © 2008 Google. All Rights Reserved.