Skip to content

Instantly share code, notes, and snippets.

@andrewharmellaw
Created May 28, 2013 07:29
Show Gist options
  • Save andrewharmellaw/5661067 to your computer and use it in GitHub Desktop.
Save andrewharmellaw/5661067 to your computer and use it in GitHub Desktop.
Map.values() returns an Iterable
// NOTE that the following will not compile, as iterators do not implement "contains"
// mapValues.contains("Illinois") should be (true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment