[Java] Class SimpleCache<K, V>
- groovy.json.internal.SimpleCache
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
def |
SimpleCache(int limit, CacheType type) | |
def |
SimpleCache(int limit) | |
V |
get(K key) | |
V |
getSilent(K key) | |
void |
put(K key, V value) | |
void |
remove(K key) | |
int |
size() | |
String |
toString() |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Method Detail
public def SimpleCache(int limit, CacheType type)
public def SimpleCache(int limit)
public V get(K key)
public V getSilent(K key)
public void put(K key, V value)
public void remove(K key)
public int size()
public String toString()
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/groovy/json/internal/SimpleCache.html