Uploaded image for project: 'Commons Collections'
  1. Commons Collections
  2. COLLECTIONS-694

Support for Transformer in LazyList

Agile BoardAttach filesAttach ScreenshotVotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.2
    • Fix Version/s: 4.4
    • Component/s: List
    • Labels:
      None

      Description

      LazyList supports a Factory for creating new elements on first access. Since a Factory does not take any arguments, those elements can not depend on any input values.

      A possible use case is a list of objects from a database, fetched by their id. If an element at a specific position is requested, it is retrieved from the database lazily. This would require support of a Transformer (from id to database object).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              windy Stephan Windmüller

              Dates

              • Created:
                Updated:
                Resolved:

              Time Tracking

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

                Issue deployment