Java Utwórz listę z jednym elementem

List<String> list = Collections.singletonList("foo");
Troubled Turtle