Java Create List с одним элементом
List<String> list = Collections.singletonList("foo");
Troubled Turtle
List<String> list = Collections.singletonList("foo");