Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 4.x
    • Component/s: Collection
    • Labels:
      None

      Description

      Sometimes you need to keep track of what was added and what was removed
      from a collection, and that is what we created TrackingCollection for.

      Additionally, since we were implementing lazy-loading of collections of
      persistent objects, we introduced a CollectionLoader that is used by the
      TrackingCollection when it has to access all of its elements. It is
      still possible however to use the TrackingCollection without a loader,
      and it will simply start empty and be considered loaded.

      Sherpa Solutions is offering the Apache Software Foundation the
      attached source code, to be distributed by the projet under the
      Apache License terms.

      1. CollectionLoader.java
        0.4 kB
        Nicolas Marchildon
      2. TrackingCollection.java
        12 kB
        Nicolas Marchildon
      3. TrackingCollectionTest.java
        5 kB
        Nicolas Marchildon

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Nicolas Marchildon
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development