/** * Creates an LRUHashMap with the given max size. * * @param pMaxSize size limit */ public LRUHashMap(int pMaxSize) { super(16, .75f, true); setMaxSize(pMaxSize); }
/** * Creates an LRUHashMap with initial mappings from the given map, * and the given max size. * * @param pContents the map whose mappings are to be placed in this map. * May be {@code null}. * @param pMaxSize size limit */ public LRUHashMap(Map<? extends K, ? extends V> pContents, int pMaxSize) { super(16, .75f, true); setMaxSize(pMaxSize); putAll(pContents); }
/** * Creates an LRUHashMap with the given max size. * * @param pMaxSize size limit */ public LRUHashMap(int pMaxSize) { super(16, .75f, true); setMaxSize(pMaxSize); }
/** * Creates an LRUHashMap with the given max size. * * @param pMaxSize size limit */ public LRUHashMap(int pMaxSize) { super(16, .75f, true); setMaxSize(pMaxSize); }
/** * Creates an LRUHashMap with the given max size. * * @param pMaxSize size limit */ public LRUHashMap(int pMaxSize) { super(16, .75f, true); setMaxSize(pMaxSize); }
/** * Creates an LRUHashMap with initial mappings from the given map, * and the given max size. * * @param pContents the map whose mappings are to be placed in this map. * May be {@code null}. * @param pMaxSize size limit */ public LRUHashMap(Map<? extends K, ? extends V> pContents, int pMaxSize) { super(16, .75f, true); setMaxSize(pMaxSize); putAll(pContents); }
/** * Creates an LRUHashMap with initial mappings from the given map, * and the given max size. * * @param pContents the map whose mappings are to be placed in this map. * May be {@code null}. * @param pMaxSize size limit */ public LRUHashMap(Map<? extends K, ? extends V> pContents, int pMaxSize) { super(16, .75f, true); setMaxSize(pMaxSize); putAll(pContents); }
/** * Creates an LRUHashMap with initial mappings from the given map, * and the given max size. * * @param pContents the map whose mappings are to be placed in this map. * May be {@code null}. * @param pMaxSize size limit */ public LRUHashMap(Map<? extends K, ? extends V> pContents, int pMaxSize) { super(16, .75f, true); setMaxSize(pMaxSize); putAll(pContents); }