[ 
https://issues.apache.org/jira/browse/COLLECTIONS-591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16964707#comment-16964707
 ] 

Chen Guoping edited comment on COLLECTIONS-591 at 11/1/19 8:17 AM:
-------------------------------------------------------------------

Hi  Radosław Smogura. It is best to provide a PR on GitHub to this component. 
Can you do it?Rebasing onto the master branch and opening a new pull request 
here:

[https://github.com/apache/commons-collections/pulls]


was (Author: guoping):
Hi  Radosław Smogura. It is best to provide a PR on GitHub to this component. 
Can you do it?

https://github.com/apache/commons-collections/pulls

> Copy on write list
> ------------------
>
>                 Key: COLLECTIONS-591
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-591
>             Project: Commons Collections
>          Issue Type: New Feature
>          Components: List
>            Reporter: Radosław Smogura
>            Priority: Minor
>         Attachments: copy-on-write-list-v1.diff
>
>
> Hi all,
> In one of my projects I wanted to use copy on write list. I slightly improved 
> this implementation and thought it would be nice to add it to commons 
> collections, as I couldn't find something like this.
> Implementation details:
> - the original list is wrapped with CopyOnWriteList,
> - on modifications the original list is copied and copy is used instead,
> - for iterators before modification, the cursor index is used and then new 
> iterator is set on on required position (this can't be done for abstract 
> collections)
> I hope there is no flaw in my designs,
> Best regards, 
> Radek Smogura



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to