I would like to convert the string containing abc to a list of characters and a hashset of characters. How can I do that in Java ?
abc
List
List result = Arrays.asList("abc".split(""));