public class BoundedHashMap<K,V>
extends java.util.LinkedHashMap<K,V>
Modifier and Type | Field and Description |
---|---|
protected int |
max_size |
Constructor and Description |
---|
BoundedHashMap(int max_size) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(K key,
V val) |
protected boolean |
removeEldestEntry(java.util.Map.Entry<K,V> eldest) |
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, replaceAll, values
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
Copyright © 1998-2020 Red Hat. All Rights Reserved.