Lines Matching refs:Produced
28 import dagger.producers.Produced;
41 public final class SetOfProducedProducer<T> extends AbstractProducer<Set<Produced<T>>> {
116 public ListenableFuture<Set<Produced<T>>> compute() { in compute()
117 List<ListenableFuture<? extends Produced<? extends Collection<T>>>> futureProducedCollections = in compute()
118 new ArrayList<ListenableFuture<? extends Produced<? extends Collection<T>>>>( in compute()
133 new Function<List<Produced<? extends Collection<T>>>, Set<Produced<T>>>() { in compute()
135 public Set<Produced<T>> apply( in compute()
136 List<Produced<? extends Collection<T>>> producedCollections) { in compute()
137 ImmutableSet.Builder<Produced<T>> builder = ImmutableSet.builder(); in compute()
138 for (Produced<? extends Collection<T>> producedCollection : producedCollections) { in compute()
146 Produced.<T>failed( in compute()
154 Produced.<T>failed( in compute()
159 builder.add(Produced.successful(value)); in compute()
164 builder.add(Produced.<T>failed(e.getCause())); in compute()