| Package | Description |
|---|---|
| dagger.producers | |
| dagger.producers.internal |
| Modifier and Type | Method and Description |
|---|---|
static <T> Produced<T> |
Produced.failed(Throwable throwable)
|
static <T> Produced<T> |
Produced.successful(T value)
Returns a successful
Produced, whose get() will return the given value. |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<Map<K,Produced<V>>> |
MapOfProducedProducer.compute(ProducerMonitor unusedMonitor) |
com.google.common.util.concurrent.ListenableFuture<Set<Produced<T>>> |
SetOfProducedProducer.compute(ProducerMonitor unusedMonitor)
|
static <T> Producer<Set<Produced<T>>> |
SetOfProducedProducer.create(Producer<Set<T>>... producers)
|
static <T> com.google.common.util.concurrent.ListenableFuture<Produced<T>> |
Producers.createFutureProduced(com.google.common.util.concurrent.ListenableFuture<T> future)
Returns a future of
Produced that represents the completion (either success or failure)
of the given future. |
Copyright © 2016 Google, Inc.. All Rights Reserved.