title: Picking a random element from a set
body: <p>How do I pick a random element from a set?
  I'm particularly interested in picking a random element from a
  HashSet or a LinkedHashSet, in Java.
  Solutions for other languages are also welcome. </p>