Sobes.tech
Middle

List<String> so'zlar = Arrays.asList("Привет", "Pока", "ОКО"); so'zlar.stream() .filter(so'z -> so'z.contains("o")) .toUpperCase() .contains("o") .forEach(System.out :: println);