public class

FutureValues.DeferredFutureValue<T>

extends java.lang.Object

implements FutureValue<java.lang.Object>

 java.lang.Object

↳androidx.pdf.data.FutureValues.DeferredFutureValue<T>

Overview

A FutureValue which wraps a Supplier for another FutureValue. This is designed so that a computation which returns a FutureValue is not started until FutureValue.get(FutureValue.Callback) is called for the first time (a "lazy" future).

Summary

Constructors
publicDeferredFutureValue(Supplier<FutureValue> computation)

Methods
public voidget(FutureValue.Callback<java.lang.Object> callback)

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public DeferredFutureValue(Supplier<FutureValue> computation)

Methods

public void get(FutureValue.Callback<java.lang.Object> callback)