innerCache = new SoftValuedHashMap(); cCache.put(factory, innerCache);
public static <K, V> Cache<K, V> newSoftValueCache(int capacity) { try { return Inner.newSoftValueCache(capacity); } catch (NoClassDefFoundError e) { // Use older class for compatibility. return wrap(new org.cojen.util.SoftValuedHashMap<K, V>(capacity)); } }
throw new IllegalArgumentException("Query filter must not be null"); map = new SoftValuedHashMap(7); mFilterToQuery.put(filter, map);
throw new IllegalArgumentException("Query filter must not be null"); map = new SoftValuedHashMap(7); mFilterToQuery.put(filter, map);