List of usage examples for org.apache.commons.collections4.map LRUMap put
V put(K key, V value);
From source file:org.apache.jena.permissions.impl.SecuredItemImpl.java
/** * set the cache value.//from w w w . j a va2s.c o m * * @param key * The key to set the value for. * @param value * The value to set. */ private void cachePut(final CacheKey key, final boolean value) { final LRUMap<CacheKey, Boolean> cache = SecuredItemImpl.CACHE.get(); if (cache != null) { cache.put(key, value); SecuredItemImpl.CACHE.set(cache); } }