code: public static <T> List<T> getRandomSublistMax(List<T> list, int maxCount) {
  		int count = rand.nextInt(maxCount) + 1;
  		return getRandomSublist(list, count);
  	}
docs: Generates a random sublist of <code>list</code>, that contains at most
  <code>maxCount</code> elements.
  
  @param <T>
  Type of list elements
  @param list
  Basic list for operation
  @param maxCount
  Maximum number of items
  @return A sublist with at most <code>maxCount</code> elements