Package org.apache.groovy.json.internal
Class SimpleCache<K,V>
java.lang.Object
org.apache.groovy.json.internal.SimpleCache<K,V>
- All Implemented Interfaces:
Cache<K,V>
public class SimpleCache<K,V> extends java.lang.Object implements Cache<K,V>
-
Constructor Summary
Constructors Constructor Description SimpleCache(int limit)
SimpleCache(int limit, CacheType type)
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
SimpleCache
-
SimpleCache
public SimpleCache(int limit)
-
-
Method Details
-
put
-
get
-
getSilent
-
remove
-
size
public int size() -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-