T
- @ThreadSafe public class MemoizingProvider<T> extends Object implements TypedProvider<T>
Constructor and Description |
---|
MemoizingProvider(javax.inject.Provider<T> provider) |
Modifier and Type | Method and Description |
---|---|
T |
get() |
Class<?> |
getProvidedType()
Get the type of object that will be provided by this provider.
|
public Class<?> getProvidedType()
TypedProvider
Provider.get()
must be of this type. This is used to help the injector refine its types.getProvidedType
in interface TypedProvider<T>
Copyright © 2016 GroupLens Research. All rights reserved.