code: public static <T> Set<T> getConcurrentSet(Class<T> type)
     {
        return Collections.newSetFromMap(new ConcurrentHashMap<T, Boolean>());
     }
docs: Get a new instance of a concurrent {@link Set} (implemented by {@link ConcurrentHashMap}).