Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×
Java

Submission + - Java LINQ (github.com) 3

nicholas22 writes: "A Java library providing LINQ (Language INtegrated Query) has been developed, using a Scala-style programming library called lombok-pg, that supports features not found in standard JDK libraries, such as extension methods, yield coroutines and functions.

Examples (valid Java):
String[] names = new String[] { "james", "john", "john", "eddie" }.where(startsWith("j")).distinct();
char[] alphabet = new Character('A').to(new Character('Z')).unbox();

This Java code would take approximately 4x the number of lines of code."

Slashdot Top Deals

UNIX is hot. It's more than hot. It's steaming. It's quicksilver lightning with a laserbeam kicker. -- Michael Jay Tucker

Working...