Is there a Java equivalent for LINQ?

java, linq

Solution

This library provides a full LINQ API: https://github.com/nicholas22/jpropel-light

It does so with functional-style constructs and it also uses deferred execution.

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

Problem

Possible Duplicate: What is the Java equivalent for LINQ? There are numerous questions asking whether there is a Java equivalent for LINQ. But most of them are incorrectly specifying that there is nothing.

Original source

Related problems