code: public static Object gatRandomItem(final List items) {
  		if (items == null || items.size() == 0) {
  			return null;
  		}
  		final int itemIndex = (int) (Math.random() * items.size());
  		return items.get(itemIndex);
  	}
docs: //////////////////////////////////////////////////////////