static public int uniqueMorseRepresentations(String[] words) {
        if (words == null || words.length == 0)
            return 0;

        Set<String> set = new HashSet<>();
        for (int i = 0; i < words.length; i++) {
            set.add(parse(words[i]));
        }
        return set.size();
    }
Why Did you create this class? what does it do?
src/problems/easy/UniqueMorseCodeWords.java