String title[]={"a","b"};
List<String> list = Arrays.asList(title);
Map<String, String> titleMap = list.stream().collect(Collectors.toMap(x -> x, x -> x));