Java Arrays.asList() returns immutable list | Ledld
Surprisingly, the method Arrays.asList(T…a) returns an ArraysList that doesn't implement the add or remove method (as it says in the specs is fixed size list), so trying to do something like this:
Read full article from Java Arrays.asList() returns immutable list | Ledld
No comments:
Post a Comment