Back to Fresco

Supplier

docs/javadoc/reference/com/facebook/common/internal/Supplier.html

3.6.013.1 KB
Original Source

Fresco

|

|

Packages | Classes

Interfaces

Classes

Annotations

Packages | Classes

Summary: Methods | [Expand All]

public interface

Supplier

| com.facebook.common.internal.Supplier<T> |

| Known Indirect Subclasses

DefaultBitmapMemoryCacheParamsSupplier, DefaultEncodedMemoryCacheParamsSupplier, FirstAvailableDataSourceSupplier<T>, IncreasingQualityDataSourceSupplier<T>, PipelineDraweeControllerBuilderSupplier, RetainingDataSourceSupplier<T>

| DefaultBitmapMemoryCacheParamsSupplier | Supplies MemoryCacheParams for the bitmap memory cache. | | DefaultEncodedMemoryCacheParamsSupplier | Supplies MemoryCacheParams for the encoded image memory cache | | FirstAvailableDataSourceSupplier<T> | DataSource supplier that provides a data source which will forward results of the first available data source. | | IncreasingQualityDataSourceSupplier<T> | DataSource supplier that provides a data source which forwards results of the underlying data sources with the increasing quality. | | PipelineDraweeControllerBuilderSupplier | | | RetainingDataSourceSupplier<T> | |

|

Class Overview

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.

Summary

Public Methods
abstract T
Retrieves an instance of the appropriate type.

Public Methods

public abstract 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

+Generated by Doclava. +