public List<T> next() { return nextCombinationAsList(); }
/** * Generate the next combination and return a list containing the * appropriate elements. * @see #nextCombinationAsList(List) * @return A list containing the elements that make up the next combination. */ public List<T> nextCombinationAsList() { return nextCombinationAsList(new ArrayList<T>(elements.length)); }