What happens to the returned Arraylist by Collections.in modifiable list(), when the original list is modified ? Is it modified too ? Or it remains unchanged ?
Asked
Active
Viewed 44 times
1 Answers
1
The documentation says it is an only readable view of the original list and because the collection returns always the same objects, the changes you made on the original list will also affect on the un-modifiable list view.

Kami
- 459
- 1
- 6
- 27
-
Sorry I don't understand what you mean by "Much SQL views?" – Kami Jul 29 '15 at 17:13
-
@AbhishekSingh what do you mean by your comment. If my answer solved your question please mark it as the correct answer. thanks – Kami Jul 29 '15 at 18:04