List of usage examples for com.google.common.collect ImmutableList parallelStream
default Stream<E> parallelStream()
From source file:com.google.devtools.build.importdeps.ImportDepsChecker.java
private static ImmutableList<String> extractLabels(ImmutableList<Path> jars) { return jars.parallelStream().map(ImportDepsChecker::extractLabel).filter(Objects::nonNull).distinct() .sorted().collect(ImmutableList.toImmutableList()); }