public abstract class WeakCache<K,V> extends Object
Constructor and Description |
---|
WeakCache() |
protected abstract V lookup(K key)
key
- Key value for which a value must be computed.public V remove(K key)
key
- Key to value that may be in cache.public V get(K key)
key
- public void clear()
Copyright © 2017 Oracle. All rights reserved.