code: public static <T> T pickRandom (List<T> values)
      {
          int size = values.size();
          if (size == 0) {
              throw new IllegalArgumentException(
                  "Must have at least one element [size=" + size + "]");
          }
          return values.get(getInt(size));
      }
docs: Picks a random object from the supplied List
  
  @return a randomly selected item.