/** * Creates an LRUHashMap with initial mappings from the given map, * and default max size (1000 entries). * * <small>This is constructor is here to comply with the reccomendations for * "standard" constructors in the {@code Map} interface.</small> * * @param pContents the map whose mappings are to be placed in this map. * May be {@code null}. * * @see #LRUHashMap(java.util.Map, int) */ public LRUHashMap(Map<? extends K, ? extends V> pContents) { super(16, .75f, true); 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 default max size (1000 entries). * * <small>This is constructor is here to comply with the reccomendations for * "standard" constructors in the {@code Map} interface.</small> * * @param pContents the map whose mappings are to be placed in this map. * May be {@code null}. * * @see #LRUHashMap(java.util.Map, int) */ public LRUHashMap(Map<? extends K, ? extends V> pContents) { super(16, .75f, true); putAll(pContents); }
/** * Creates an LRUHashMap with initial mappings from the given map, * and default max size (1000 entries). * * <small>This is constructor is here to comply with the reccomendations for * "standard" constructors in the {@code Map} interface.</small> * * @param pContents the map whose mappings are to be placed in this map. * May be {@code null}. * * @see #LRUHashMap(java.util.Map, int) */ public LRUHashMap(Map<? extends K, ? extends V> pContents) { super(16, .75f, true); putAll(pContents); }
/** * Creates an LRUHashMap with initial mappings from the given map, * and default max size (1000 entries). * * <small>This is constructor is here to comply with the reccomendations for * "standard" constructors in the {@code Map} interface.</small> * * @param pContents the map whose mappings are to be placed in this map. * May be {@code null}. * * @see #LRUHashMap(java.util.Map, int) */ public LRUHashMap(Map<? extends K, ? extends V> pContents) { super(16, .75f, true); 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); }
/** * 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); }