commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Ansell <ansell.pe...@gmail.com>
Subject Re: [csv] Update to Java 8
Date Mon, 13 Jun 2016 22:59:53 GMT
The ability to push Lambda's into a CSV processing library, to avoid
users having to implement a "while(hasNext())" loop
correctly/efficiently each time shouldn't underestimated. I have
written a utility method myself to do this for my projects. It uses
Jackson CSV right now but the pattern should be similar.

https://github.com/ansell/csvsum/blob/master/src/main/java/com/github/ansell/csv/util/CSVUtil.java#L98

Cheers,

Peter

On 14 June 2016 at 03:10, Stian Soiland-Reyes <stain@apache.org> wrote:
> 7 (email) or 8 (subject)?
>
> I'm +1 for either - but I'm not sure if CSV would benefit much from
> Java 8 features, or are you thinking Java 8 Streams for CSV? (That
> would be really cool!)
>
>
>
> On 13 June 2016 at 03:18, Gary Gregory <garydgregory@gmail.com> wrote:
>> Now that we pushed out 1.4, I plan on updating the platform requirement to
>> Java 7.
>>
>> Gary
>>
>> --
>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>> Java Persistence with Hibernate, Second Edition
>> <http://www.manning.com/bauer3/>
>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
>> Spring Batch in Action <http://www.manning.com/templier/>
>> Blog: http://garygregory.wordpress.com
>> Home: http://garygregory.com/
>> Tweet! http://twitter.com/GaryGregory
>
>
>
> --
> Stian Soiland-Reyes
> Apache Taverna (incubating), Apache Commons
> http://orcid.org/0000-0001-9842-9718
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message