MCPcopy Index your code
hub / github.com/google/dagger / toImmutableSet

Method toImmutableSet

java/dagger/internal/codegen/DaggerStreams.java:47–49  ·  view source on GitHub ↗

Returns a Collector that accumulates the input elements into a new ImmutableSet, in encounter order.

()

Source from the content-addressed store, hash-verified

45 * ImmutableSet}, in encounter order.
46 */
47 public static <T> Collector<T, ?, ImmutableSet<T>> toImmutableSet() {
48 return collectingAndThen(toList(), ImmutableSet::copyOf);
49 }
50
51 /**
52 * Returns a {@link Collector} that accumulates elements into an {@code ImmutableMap} whose keys

Callers 15

bindingNodesMethod · 0.80
componentNodesMethod · 0.80
dependencyEdgesMethod · 0.80
entryPointEdgesMethod · 0.80
getAllAnnotationsMethod · 0.80
resolvedDependenciesMethod · 0.80
availableDependenciesMethod · 0.80
bindingTypesMethod · 0.80
implicitDependenciesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected