blob: 97a6ea89f063d587daea6879ecd6a83739e41046 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import java.util.List;
import java.util.stream.IntStream;
public class Agenda {
private List<String> persons;
public void lambdaEmpty() {
return persons.stream().forEach(p -> {
System.out.println(p);
});
}
}
|