public <T> Set<T> getSet(String key, Class<T> elementClass) {
        return Reflection.toTypedSet(get(key), elementClass);
    }
public < T > Set < T > getSet ( String key , Class < T > elementClass ) { return Reflection . toTypedSet ( get ( key ) , elementClass ) ; }
@param key          the argument name
@param elementClass the element class
@param <T>          the generic type
@return a newly created hash set which contains all the elements for the given key.