class ResourceCache {

    @SuppressWarnings("unchecked")
    public <T> T get(String url, Class<T> clazz) {
        Serializable cacheKey = key(url, clazz);
        if (cache.isKeyInCache(cacheKey)) {
            Element element = cache.get(cacheKey);
            if (element != null) {
                Object objectValue = element.getObjectValue();
                return (T) objectValue;
            }
        }
        return null;
    }

    public  ResourceCache();

}