code: public static <T> T getRandomItem(List<T> list) {
  		return list.get(rand.nextInt(list.size()));
  	}
docs: Returns a random element of the given list.
  
  @param <T>
  Type of list elements
  @param list
  List
  @return Random element of <code>list</code>