Agile BoardAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: List
    • Labels:
      None
    • Flags:
      Patch

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rsmogura Radosław Smogura

              Dates

              • Created:
                Updated:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0h
              0h
              Logged:
              Time Spent - 20m
              20m

                Issue deployment