commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Windmüller (JIRA) <>
Subject [jira] [Commented] (COLLECTIONS-694) Support for Transformer in LazyList
Date Sun, 09 Sep 2018 09:57:00 GMT


Stephan Windmüller commented on COLLECTIONS-694:

Pull request added on GitHub:

> Support for Transformer in LazyList
> -----------------------------------
>                 Key: COLLECTIONS-694
>                 URL:
>             Project: Commons Collections
>          Issue Type: Improvement
>          Components: List
>    Affects Versions: 4.2
>            Reporter: Stephan Windmüller
>            Priority: Minor
> {{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).

This message was sent by Atlassian JIRA

View raw message