Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

LINQ for Java

DZone's Guide to

LINQ for Java

·
Free Resource

 This library allows you to write the follwing valid Java code:

// create alphabet char[]
char[] alphabet = new Character('A').to(new Character('Z')).unbox();
char[] numerics = new Character('1').to(new Character('9')).unbox();

// join two arrays and put in list 
List allowed = alphabet.join(numerics).box().toList(); 

// select distinct j* names, using LINQ-style statements
new String[] { "james", "john", "john", "eddie" }.where(startsWith("j")).distinct(); 

Download at: https://github.com/nicholas22/jpropel-light
Topics:

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}