• Home
  • Raw
  • Download

Lines Matching refs:Producer

27 import dagger.producers.Producer;
35 public final class MapOfProducerProducer<K, V> extends AbstractMapProducer<K, V, Producer<V>> {
41 private MapOfProducerProducer(ImmutableMap<K, Producer<V>> contributingMap) { in MapOfProducerProducer()
46 public ListenableFuture<Map<K, Producer<V>>> compute() { in compute()
47 return Futures.<Map<K, Producer<V>>>immediateFuture(contributingMap()); in compute()
51 public static final class Builder<K, V> extends AbstractMapProducer.Builder<K, V, Producer<V>> {
57 public Builder<K, V> put(K key, Producer<V> producerOfValue) { in put()
69 public Builder<K, V> putAll(Producer<Map<K, Producer<V>>> mapOfProducerProducer) { in putAll()
81 public Producer<Map<K, Producer<V>>> newDependencyView() { in newDependencyView()
86 public Producer<Map<K, Producer<V>>> newEntryPointView( in newEntryPointView()
92 private Producer<Map<K, Producer<V>>> newTransformedValuesView( in newTransformedValuesView()
93 Function<Producer<V>, Producer<V>> valueTransformationFunction) { in newTransformedValuesView()
94 return dagger.producers.Producers.<Map<K, Producer<V>>>immediateProducer( in newTransformedValuesView()
99 private static <T> Function<Producer<T>, Producer<T>> toDependencyView() { in toDependencyView()
103 private static <T> Function<Producer<T>, Producer<T>> toEntryPointView( in toEntryPointView()
105 return new Function<Producer<T>, Producer<T>>() { in toEntryPointView()
107 public Producer<T> apply(Producer<T> input) { in toEntryPointView()
113 private static final Function<Producer<?>, Producer<?>> TO_DEPENDENCY_VIEW =
114 new Function<Producer<?>, Producer<?>>() {
116 public Producer<?> apply(Producer<?> input) {