public void clear() { if (_map.removalPolicy != null) { for (Entry<K, V> entry : _map.entrySet()) { _map.removalPolicy.onElementRemoved(entry.getKey(), entry.getValue()); } } _map.clear(); }
public void clear() { if (_map.removalPolicy != null) { for (Entry<K, V> entry : _map.entrySet()) { _map.removalPolicy.onElementRemoved(entry.getKey(), entry.getValue()); } } _map.clear(); }