strumień i filtr Java

items.stream()
	.filter(s->s.contains("B"))
	.forEach(System.out::println);
Good Goosander