We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
List<String> list = new ArrayList<>();
Arrays.asList("a", "b"); Collections.singletonList("a");
List list = Stream.of("a", "b").collect(Collectors.toList());
Ref:https://www.jianshu.com/p/609e853407e8