I must comment that a subset of this API is available as a
FluentIterable class in the unreleased [functor] component. Having
said that, the proposed additions look good to me.
Matt
On Wed, May 27, 2015 at 2:45 PM, Oliver Heger
wrote:
>
>
> Am 27.05.2015 um 20:37 schrieb Thomas Neidhart:
>> On 0
Am 27.05.2015 um 20:37 schrieb Thomas Neidhart:
> On 05/27/2015 06:52 PM, Gary Gregory wrote:
>> Let's not reinvent the wheel indeed.
>
> This is not about reinventing the wheel or reimplementing Java 8
> streams. The rationale is to glue together existing functionality in
> collections by a flu
On 05/27/2015 06:52 PM, Gary Gregory wrote:
> Let's not reinvent the wheel indeed.
This is not about reinventing the wheel or reimplementing Java 8
streams. The rationale is to glue together existing functionality in
collections by a fluent API, very much the same as already exists in
guava or oth
Let's not reinvent the wheel indeed.
Gary
Original message
From: Silviu Burcea
Date: 05/27/2015 07:31 (GMT-08:00)
To: Commons Developers List
Subject: Re: [collections] FluentIterable
Are we going to reimplement the whole Java 8 Streams?
On Tue, May 26, 2015 at
Are we going to reimplement the whole Java 8 Streams?
On Tue, May 26, 2015 at 11:49 PM, Thomas Neidhart wrote:
> Hi,
>
> today, I have committed a first version of a FluentIterable
> (COLLECTIONS-464).
>
> Example usage:
>
> List result =
> FluentIterable
> .of(1, 2, 3, 4, 5, 6, 7, 8, 9, 1
Hi,
today, I have committed a first version of a FluentIterable
(COLLECTIONS-464).
Example usage:
List result =
FluentIterable
.of(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
.filter(new Predicate() {
public boolean evaluate(Integer number) {
return number % 2 == 0;
}