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