com.atlassian.cache
Interface Supplier<T>


@PublicSpi
public interface Supplier<T>

Supplier for a single object

Since:
2.0

Method Summary
 T get()
          Produce an object.
 

Method Detail

get

T get()
Produce an object. Retrieve an instance of the appropriate type. The returned object may or may not be a new instance, depending on the implementation.

Returns:
the product, may be null if there are no objects available.


Copyright © 2014 Atlassian. All Rights Reserved.