@SuppressWarnings("unchecked")
    public <T> T get(String key, Class<T> clazz) {
        return (T) cache.get(key);
    }
@SuppressWarnings("unchecked")
    public <T> T get(String key, Class<T> clazz) {
        return (T) cache.get(key);
    }
@ SuppressWarnings ( "unchecked" ) public < T > T get ( String key , Class < T > clazz ) { return ( T ) cache . get ( key ) ; }
Convenient clazz to get a value a class type;
@param <T> The needed type
@param key The element key
@param clazz The type class
@return The element value or null
Convenient clazz to get a value a class type ;