void (String[] args) { System.out.println(testOrElse(Arrays.asList("a", "b", "syz"))); System.out.println(testOrElseGet(Arrays.asList("a", "b", "syz"))); testIfPresent(Arrays.asList("a", "b", "syz")); System.out.println(testIsPresent(asList(asList(), asList("a"), asList("b", "c")))); System.out.println(testIsPresentNotTernary(asList(asList(), asList("a"), asList("b", "c")))); }