code: public static <T> List<T> concat(List<T> inputs, T newValue) {
  		List<T> outputs = new ArrayList<>(inputs.size() + 1);
  		outputs.addAll(inputs);
  		outputs.add(newValue);
  		return outputs;
  	}
docs: Concat new value to existing inputs and returns new outputs.
  Note that input is not modified.
  
  @param inputs Input list.
  @param newValue The new value to add.
  @param <T> The type of object.
  @return The outputs.