refactoring legacy code for java 8

Main menu:

Topics

Recent Posts

Feeds

RSS Feed RSS - Posts

March 2017
M T W T F S S
« Feb    
 12345
6789101112
13141516171819
20212223242526
2728293031  

Past Posts

Java/Java EE

JDBC

Other

Archive for the tag "stream"

refactoring legacy code for java 8

June 25th, 2016 by Jeanne Boyarsky

I asked a teammate at CodeRanch if I could use a method he wrote to show how it could be written more clearly/succinctly in Java 8. He said yes. This is the original method. It is 95 lines and¬†has a cyclomatic¬†complexity of 27. First step – write unit tests First, I wrote unit tests for […]

java 8 stream performance – maurice naftalin – qcon

June 10th, 2015 by Jeanne Boyarsky

This is part of my live blogging from QCon 2015. See my QCon table of contents for other posts. See http://www.lambdafaq.org Background He started with background on streams. (This is old news by now, but still taking some notes). The goals were to bring a functional style to Java and “explicit but unobtrusive” hardware parallelism. […]