List<String> (char[] arr, Character prefix) { return IntStream.range(0, arr.length) .mapToObj(i -> { String v = String.valueOf(arr[i]); return prefix != null ? prefix + v : v; }) .collect(Collectors.toList()); }