Skip to content

Instantly share code, notes, and snippets.

@CodeIQ
Forked from nebosuke/gist:4059273
Created November 15, 2012 05:39
Show Gist options
  • Save CodeIQ/4076840 to your computer and use it in GitHub Desktop.
Save CodeIQ/4076840 to your computer and use it in GitHub Desktop.
System.out.print(new SmartArray(new String[] { "Hello", "World!", "Java" })
.map(new SmartArray.Op<String, Integer>() {
public Integer op(String s) {
return s.length();
}
})
.max());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment