[Java] Interface Cache<KEY, VALUE>
public interface Cache<KEY, VALUE>
Cache
- Type Parameters:
-
KEY
- key -
VALUE
- value
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
public VALUE |
get(KEY key) | |
public VALUE |
getSilent(KEY key) | |
public void |
put(KEY key, VALUE value) | |
public void |
remove(KEY key) | |
public int |
size() |
Method Detail
public VALUE get(KEY key)
public VALUE getSilent(KEY key)
public void put(KEY key, VALUE value)
public void remove(KEY key)
public int size()
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/apache/groovy/json/internal/Cache.html