Java 8 finden in der Liste
List<String> ss = Arrays.asList({"one", "two", "four"});
String s = ss.stream()
.filter(x -> "two".equals(x))
.findAny()
.orElse(null);
Nutty Nightingale