public List<T> asList(Object output) {if (!(output instanceof List)) {List<T> result = new ArrayList<>(1);result.add((T) output);return result;} else {return (List<T>) output;}}

public List < T > asList ( Object output ) { if ( ! ( output instanceof List ) ) { List < T > result = new ArrayList < > ( 1 ) ; result . add ( ( T ) output ) ; return result ; } else { return ( List < T > ) output ; } }
public IList<T> AsList(object output){if (!(output is IList<T> outputList)){return new JCG.List<T>(1) { (T)output };}else{return outputList;}}
