In Java 8 I can map over streams with the `map` method, e.g.

```
Stream.of("Hello", "world").map(s -> s.length())

```

gives me a stream containing the integers `[5, 5]`. I am trying to do the same with lists. I have come up with

```
List<String> list = ...

list.stream().map(s -> s.length()).collect(Collectors.toList())

```

This works but is rather verbose. Is there a more concise solution? Ideally, there would be a similar `map` method for lists, but I haven't found any. So, are there any alternatives?