286287288289290291292
public static <T> Action returnIterator(T ... items) { return new ReturnIteratorAction(items); } public static Action returnEnumeration(Collection<?> collection) { return new ReturnEnumerationAction(collection); }
290291292293294295296
public static Action returnEnumeration(Collection<?> collection) { return new ReturnEnumerationAction(collection); } public static <T> Action returnEnumeration(T ... items) { return new ReturnEnumerationAction(items); }