List<String> ss = Arrays.asList({"one", "two", "four"}); String s = ss.stream() .filter(x -> "two".equals(x)) .findAny() .orElse(null);