The original link: https://blog.csdn.net/justloveyou_/article/details/79562574
Original content: it will never change their encapsulate the underlying data structure of data, such as Stream filter operation will produce a new Stream does not contain the filter element, not delete those elements from the source;
Want to ask: if I have a List there are thousands of elements, takes up to 10 m, regardless of the GC, I filter (filter) out of the half, is a total of 15 m take up?