[Java] Class SimpleCache<K, V>

  • org.apache.groovy.json.internal.SimpleCache
All Implemented Interfaces and Traits:
Cache
public class SimpleCache<K, V>

Constructor Summary

Constructors
Constructor and description
SimpleCache (int limit, CacheType type)
SimpleCache (int limit)

Methods Summary

Methods
Type Params Return Type Name and description
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()

Inherited Methods Summary

Inherited Methods
Methods inherited from class Name
class Object wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll

Constructor Detail

public SimpleCache(int limit, CacheType type)

public SimpleCache(int limit)

Method Detail

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/3.0.7/html/gapi/org/apache/groovy/json/internal/SimpleCache.html