Skip to content

Instantly share code, notes, and snippets.

@grkvlt
Created March 17, 2013 19:42
Show Gist options
  • Save grkvlt/5183284 to your computer and use it in GitHub Desktop.
Save grkvlt/5183284 to your computer and use it in GitHub Desktop.
Guava Features

Guava Features

Iterables

Iterables.rotate(Iterable<T> iterable, int n)

Iterables.getRandom(Iterable<T> iterable)

Iterables.getFirst(Iterable<T> iterable)

Predicates

Predicates.matchesPattern(Pattern pattern)

Predicates.matches(String pattern)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment