A basic LINQ-like toolset for java
Include as maven dependency
<dependency>
<groupId>com.github.jlinq</groupId>
<artifactId>jlinq</artifactId>
<version>0.0.3a</version>
</dependency>
Include as gradle dependency
compile 'com.github.jlinq:jlinq:0.0.3a'
- Create a
Queryable<...>
from a plain old java iterable:
Queryable<String> q1 = JLinq.create(new String[]{"Hello", "World", "Foo", "Bar", "42"});
Queryable<Integer> q2 = JLinq.create(someListOfInteger);
Note that changes on the underlying Iterable
will be applied to the generated Queryable<...>
.