Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Simplify access to beans within java Collections
Java Groovy
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.settings
src
.classpath
.gitignore
.project
.travis.yml
README.md
build.gradle

README.md

Goals

Build Status

To make it easier to manipulate java Collections containing Beans. Do this by reducing the lines of code required to extract search and manipulate beans in collections.

I want to be able to write Java code that looks like:

// Calls getName() on the first item in the persons collection
Coll.from(persons).first().getName()  

// Find the first Person called Jasmine, and get their age
Coll.from(persons).findFirst("name", equalTo("Jasmine")).getAge();

// Set all names
Coll.from(persons).all().setName("Shona");

Inspirations are jQuery and Underscore.js

Something went wrong with that request. Please try again.