From issues-return-69591-archive-asf-public=cust-asf.ponee.io@commons.apache.org Sun Sep 9 11:56:04 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 5CABF180676 for ; Sun, 9 Sep 2018 11:56:04 +0200 (CEST) Received: (qmail 39490 invoked by uid 500); 9 Sep 2018 09:56:03 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 39479 invoked by uid 99); 9 Sep 2018 09:56:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Sep 2018 09:56:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id DC7BE180A79 for ; Sun, 9 Sep 2018 09:56:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.301 X-Spam-Level: X-Spam-Status: No, score=-110.301 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 0X2Fq54p95NB for ; Sun, 9 Sep 2018 09:56:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 725475F39B for ; Sun, 9 Sep 2018 09:56:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 94B71E00B4 for ; Sun, 9 Sep 2018 09:56:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1C5F42183D for ; Sun, 9 Sep 2018 09:56:00 +0000 (UTC) Date: Sun, 9 Sep 2018 09:56:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (COLLECTIONS-694) Support for Transformer in LazyList MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COLLECTIONS-694?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D16608401#comment-16608401 ]=20 ASF GitHub Bot commented on COLLECTIONS-694: -------------------------------------------- GitHub user stovocor opened a pull request: https://github.com/apache/commons-collections/pull/52 [COLLECTIONS-694] Support Transformer for LazyList This change adds support for `Transformer` in the `LazyList` class. =20 Some test cases have been added since I could not find any tests for `L= azyList`. However, the class does not seem to be serializable as stated in = the Javadoc. You can merge this pull request into a Git repository by running: $ git pull https://github.com/stovocor/commons-collections COLLECTIONS-= 694 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/commons-collections/pull/52.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #52 =20 ---- commit 757a4519d17fadb30f8e9e4f93530ef3cce509c3 Author: Stephan Windm=C3=BCller Date: 2018-09-09T09:52:06Z [COLLECTIONS-694] Support Transformer for LazyList ---- > Support for Transformer in LazyList > ----------------------------------- > > Key: COLLECTIONS-694 > URL: https://issues.apache.org/jira/browse/COLLECTIONS-69= 4 > Project: Commons Collections > Issue Type: Improvement > Components: List > Affects Versions: 4.2 > Reporter: Stephan Windm=C3=BCller > Priority: Minor > > {{LazyList}} supports a {{Factory}} for creating new elements on first ac= cess. Since a {{Factory}} does not take any arguments, those elements can n= ot depend on any input values. > A possible use case is a list of objects from a database, fetched by thei= r id. If an element at a specific position is requested, it is retrieved fr= om the database lazily. This would require support of a {{Transformer}} (fr= om id to database object). -- This message was sent by Atlassian JIRA (v7.6.3#76005)