pub fn new(max_len: u32, capacity: usize) -> Self {
        EvictedHashMap {
            map: HashMap::with_capacity(capacity),
            evict_list: LinkedList::new(),
            max_len,
            dropped_count: 0,
        }
    }
/// Create a new `EvictedHashMap` with a given max length and capacity.
Create a new `EvictedHashMap` with a given max length and capacity.
Create a new ` EvictedHashMap ` with a given max length and capacity .
pub fn new(max_len: u32, capacity: usize) -> Self {
        EvictedHashMap {
            map: HashMap::with_capacity(capacity),
            evict_list: LinkedList::new(),
            max_len,
            dropped_count: 0,
        }
    }
pub fn new ( max_len : u32 , capacity : usize ) -> Self { EvictedHashMap { map : HashMap :: with_capacity ( capacity ) , evict_list : LinkedList :: new ( ) , max_len , dropped_count : 0 , } }
Create a new `EvictedHashMap` with a given max length and capacity.
Create a new ` EvictedHashMap ` with a given max length and capacity .
max_len
u32
capacity
usize
max_len
u32
capacity
usize