APISonar


java.util.ArrayList.parallelStream

> java > util > ArrayList > parallelStream
java APIs util APIs ArrayList APIs parallelStream APIs

Example 1
private final ArrayList<BlockOutputStreamEntry> streamEntries;

  private long getKeyLength() {
    return streamEntries.parallelStream().mapToLong(e -> e.getCurrentPosition())
        .sum();
  }