Segment(int cap, int evictCap, float lf, Eviction es, EvictionListener<K, V> listener) { loadFactor = lf; this.evictCap = evictCap; eviction = es.make( this, evictCap, lf ); evictionListener = listener; setTable( HashEntry.<K, V>newArray( cap ) ); }
Segment(int cap, int evictCap, float lf, Eviction es, EvictionListener<K, V> listener) { loadFactor = lf; this.evictCap = evictCap; eviction = es.make( this, evictCap, lf ); evictionListener = listener; setTable( HashEntry.<K, V>newArray( cap ) ); }