CacheValueDictionary extends ValueDictionaryBase implements ManageableCacheDictionary { int cacheSize(final int inputSize) { return inputSize > 0 ? inputSize : DEFAULT_CACHE_SIZE; } CacheValueDictionary(
			final String id, 
			final ITopLevelDictionary decoratee, 
			final int idCacheSize, 
			final int valueCacheSize, 			
			final boolean isFirstLevelCache); @Override void removeValue(final Value value, final boolean p); @Override byte[] compose(final byte[] id1, final byte[] id2); @Override byte[] compose(final byte[] id1, final byte[] id2, final byte[] id3); @Override byte[][] decompose(final byte[] compositeId); @Override boolean isBNode(final byte[] id); @Override boolean isLiteral(final byte[] id); @Override boolean isResource(final byte[] id); @Override int getIdCacheMaxSize(); @Override int getValueCacheMaxSize(); @Override int getCachedIdentifiersCount(); @Override int getCachedValuesCount(); @Override boolean isCumulativeCache(); @Override long getIdHitsCount(); @Override double getIdHitsRatio(); @Override long getIdEvictionsCount(); @Override long getValueHitsCount(); @Override double getValueHitsRatio(); @Override long getValueEvictionsCount();  }
@Test public void defaultCacheSize() { assertEquals(CacheValueDictionary.DEFAULT_CACHE_SIZE, _cut.cacheSize(-0)); assertEquals(CacheValueDictionary.DEFAULT_CACHE_SIZE, _cut.cacheSize(-12)); assertEquals(12345, _cut.cacheSize(12345)); }