public void putCacheInCache(final Geocache cache) {
        if (cache == null) {
            throw new IllegalArgumentException("cache must not be null");
        }
        if (StringUtils.isBlank(cache.getGeocode())) {
            throw new IllegalArgumentException("geocode must not be empty");
        }
        synchronized (this) {
            cache.addStorageLocation(StorageLocation.CACHE);
            cachesCache.put(cache.getGeocode(), cache);
        }
    }
"Store" a cache in the CacheCache. If the cache is already in the CacheCache the cache gets replaced.

@param cache Cache
main/src/main/java/cgeo/geocaching/storage/CacheCache.java