org.apache.commons.ognl.internal
Class HashMapClassCache<T>

java.lang.Object
  extended by org.apache.commons.ognl.internal.HashMapCache<Class<?>,T>
      extended by org.apache.commons.ognl.internal.HashMapClassCache<T>
All Implemented Interfaces:
Cache<Class<?>,T>, ClassCache<T>

public class HashMapClassCache<T>
extends HashMapCache<Class<?>,T>
implements ClassCache<T>


Constructor Summary
HashMapClassCache(CacheEntryFactory<Class<?>,T> entryFactory)
           
 
Method Summary
 T put(Class<?> key, T value)
           
 void setClassInspector(ClassCacheInspector inspector)
           
 
Methods inherited from class org.apache.commons.ognl.internal.HashMapCache
clear, contains, get, getSize, shouldCreate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.commons.ognl.internal.Cache
clear, get, getSize
 

Constructor Detail

HashMapClassCache

public HashMapClassCache(CacheEntryFactory<Class<?>,T> entryFactory)
Method Detail

setClassInspector

public void setClassInspector(ClassCacheInspector inspector)
Specified by:
setClassInspector in interface ClassCache<T>

put

public T put(Class<?> key,
             T value)
Specified by:
put in interface Cache<Class<?>,T>
Overrides:
put in class HashMapCache<Class<?>,T>


Copyright © 1997-2013 The Apache Software Foundation. All Rights Reserved.