new HashSet<String>(Arrays.asList(namesAsArray))
new HashSet(Arrays.asList(namesAsArray))