|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Method Summary | |
---|---|
T |
get()
Retrieve an instance of the appropriate type. |
Method Detail |
---|
T get()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |