return ImmutableSet.copyOf(Iterables.filter(artifactClosureOf(artifact),matcher)); | return artifactClosureOf(artifact).stream().filter(matcher).collect(toImmutableSet()); | ImmutableSet.copyOf(Iterables.filter(artifactClosureOf(artifact),matcher)) | artifactClosureOf(artifact).stream().filter(matcher).collect(toImmutableSet()) | bazel | bda125af163e6ce990292ba17e965fc2e15a3ab4 | com.google.devtools.build.lib.actions.util.ActionsTestUtil | | _1 | filteredArtifactClosureOf |
---|
_2 | filteredArtifactClosureOf |
---|
| xyz | ImmutableSet.copyOf(Iterables.filter(artifactClosureOf(artifact),matcher)) |
---|
| - com.google.common.collect.ImmutableSet
- com.google.common.collect.Iterables
| xyz | artifactClosureOf(artifact).stream().filter(matcher).collect(toImmutableSet()) |
---|
| Returns | True |