Return-Path: Delivered-To: apmail-incubator-chemistry-dev-archive@minotaur.apache.org Received: (qmail 65717 invoked from network); 5 May 2010 09:00:24 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 May 2010 09:00:24 -0000 Received: (qmail 69071 invoked by uid 500); 5 May 2010 09:00:24 -0000 Delivered-To: apmail-incubator-chemistry-dev-archive@incubator.apache.org Received: (qmail 68963 invoked by uid 500); 5 May 2010 09:00:22 -0000 Mailing-List: contact chemistry-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: chemistry-dev@incubator.apache.org Delivered-To: mailing list chemistry-dev@incubator.apache.org Received: (qmail 68955 invoked by uid 99); 5 May 2010 09:00:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 May 2010 09:00:21 +0000 X-ASF-Spam-Status: No, hits=-3.2 required=10.0 tests=AWL,HTML_MESSAGE,RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of stephan.klevenz@sap.com designates 155.56.66.96 as permitted sender) Received: from [155.56.66.96] (HELO smtpgw.sap-ag.de) (155.56.66.96) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 May 2010 09:00:15 +0000 From: "Klevenz, Stephan" To: "chemistry-dev@incubator.apache.org" Date: Wed, 5 May 2010 10:59:51 +0200 Subject: Iterable Thread-Topic: Iterable Thread-Index: AcrsMVI94F9vhXUsR2y3ZaPYDgNmmA== Message-ID: Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-cr-hashedpuzzle: GDQ= 7tM= A159 DOBs Db4N D/YK Eu4R E0eO GH0L GU0e H5CX JHeS JU+N J4sd KnoZ K1cK;1;YwBoAGUAbQBpAHMAdAByAHkALQBkAGUAdgBAAGkAbgBjAHUAYgBhAHQAbwByAC4AYQBwAGEAYwBoAGUALgBvAHIAZwA=;Sosha1_v1;7;{EA9DD618-4711-4826-A87D-66C12C0F3BD6};cwB0AGUAcABoAGEAbgAuAGsAbABlAHYAZQBuAHoAQABzAGEAcAAuAGMAbwBtAA==;Wed, 05 May 2010 08:59:51 GMT;SQB0AGUAcgBhAGIAbABlAA== x-cr-puzzleid: {EA9DD618-4711-4826-A87D-66C12C0F3BD6} acceptlanguage: de-DE, en-US Content-Type: multipart/alternative; boundary="_000_C27DDAD1D92BC146BB4D72371796C6A80EA11559EADEWDFECCR06wd_" MIME-Version: 1.0 --_000_C27DDAD1D92BC146BB4D72371796C6A80EA11559EADEWDFECCR06wd_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I did fix this issue and decided to re-name the Iterable to ItemIterable. I= 'm not sure if we have a consensus on the naming, but the naming can change= again easily. https://issues.apache.org/jira/browse/CMIS-200 Furthermore I would like to support Florents idea to eliminate the Iterator= interface and would propose the following: ItemIteraror to be eliminated long getPosition() -> eliminate method, only required for implement= ation long getPageNumItems() -> eliminate -> no use case ling getTotalNumItems() -> move to ItemIterable WDYT Regards, Stephan --_000_C27DDAD1D92BC146BB4D72371796C6A80EA11559EADEWDFECCR06wd_--