Yes, that part is clear. Question was about intern...
# announcements
k
Yes, that part is clear. Question was about internal implementation. E.g. i sublist 1000 items from 5K list. Will it create new list, and put 1000 references there? Or will it create new object that could work as list, but just store references to first point, and its length? Java sources for ArrayList shows 2nd way (through creating SubList).