This commit is contained in:
asofold 2015-01-05 22:02:00 +01:00
parent 41e9d89efa
commit bd5794d0bd
4 changed files with 501 additions and 499 deletions

View File

@ -17,6 +17,8 @@ import java.util.Set;
*/
public class LinkedHashMapCOW<K, V> implements Map<K, V> {
// TODO: Consider a) add removeEldest... b) add option: copyMap(K) -> only copy if needed.
private LinkedHashMap<K, V> map;
private final int initialCapacity;