Here the List
supposed to have such a method
List <String> arrayList = new ArrayList<>(Arrays.asList("", "", ""));
In this case, Arrays.asList("", "", "")
sends the list immediately ...
The question is, does Set
have something similar?
Here the List
supposed to have such a method
List <String> arrayList = new ArrayList<>(Arrays.asList("", "", ""));
In this case, Arrays.asList("", "", "")
sends the list immediately ...
The question is, does Set
have something similar?
Source: https://ru.stackoverflow.com/questions/506635/
All Articles