Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EB85ED840 for ; Thu, 7 Mar 2013 18:36:12 +0000 (UTC) Received: (qmail 70573 invoked by uid 500); 7 Mar 2013 18:36:12 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 70507 invoked by uid 500); 7 Mar 2013 18:36:12 -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 70498 invoked by uid 99); 7 Mar 2013 18:36:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Mar 2013 18:36:12 +0000 Date: Thu, 7 Mar 2013 18:36:12 +0000 (UTC) From: "Benedikt Ritter (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (COLLECTIONS-366) A light-weight list of integers MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COLLECTIONS-366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13596155#comment-13596155 ] Benedikt Ritter commented on COLLECTIONS-366: --------------------------------------------- Thomas, thanks for the clarification. As you also work on o.a.c.math, I think you have a stronger background in mathematical theory than I have. So if this behavior is correct from a mathematical/definition point of view this should only be made explicit in JavaDoc. I personally think this is confusing (never used the IntRange from o.a.c.lang 2.x). > A light-weight list of integers > ------------------------------- > > Key: COLLECTIONS-366 > URL: https://issues.apache.org/jira/browse/COLLECTIONS-366 > Project: Commons Collections > Issue Type: New Feature > Affects Versions: 3.2 > Reporter: Dmitry Katsubo > Fix For: 4.x > > Attachments: COLLECTIONS-366.patch, RangeList_fixed1.zip > > > Sometimes there is a demand too have a list, that represents numbers within some range (say, [5..10]). If the range is big (millions of records), creating a dummy list that holds all instances of objects is too expensive. > The provided implementation (attached to this issue) solves this problem. Nice to have in commons collections. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira