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 SummaryConstructors Constructor Description SimpleCache(int limit)SimpleCache(int limit, CacheType type)
- 
Method SummaryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- 
Constructor Details- 
SimpleCache
- 
SimpleCachepublic SimpleCache(int limit)
 
- 
- 
Method Details- 
put
- 
get
- 
getSilent
- 
remove
- 
sizepublic int size()
- 
toStringpublic java.lang.String toString()- Overrides:
- toStringin class- java.lang.Object
 
 
-