Skip to content

Instantly share code, notes, and snippets.

@nebosuke
Created November 12, 2012 12:58
Show Gist options
  • Save nebosuke/4059273 to your computer and use it in GitHub Desktop.
Save nebosuke/4059273 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