Hi Tagir,
Last-binding while adding some complexity to the implementation is an important
property, as it is to fail-fast on a best effort basis.
When one has mutable collections that can be structurally modified and lazy
views over those collections (Streams/Iterators) then those views really
On 07/29/11 06:34, Doug Lea wrote:
As a bandaid, a faster but still compatible path for
simple get/set operations on ArrayList.subList could be
put in at the expense of adding a a few extra fields.
I should have checked before posting -- exactly
this bandaid already exists in current version,
d
On 07/28/11 19:20, Doug Lea wrote:
Thanks. I hadn't noticed that the parenthesized "i.e., this list"
in the List specs
(http://download.oracle.com/javase/7/docs/api/java/util/List.html#subList%28int,%20int%29
-- pasted below)
overly constrains the interpretation of "backing list",
which would ot
On 07/28/11 18:53, Mike Duigou wrote:
I had a similar issue with Set recently. The problem is that structural
changes in sub-sub-lists aren't correctly reflected in the sub-list parents
if the sub-sub-lists are disconnected from the parent. The chain back to to
the parent through all intermediate
I had a similar issue with Set recently. The problem is that structural changes
in sub-sub-lists aren't correctly reflected in the sub-list parents if the
sub-sub-lists are disconnected from the parent. The chain back to to the parent
through all intermediate sub-lists is used to update list bou