Signed-off-by: Jean Privat <jean@pryen.org>
+ if _capacity == 0 then enlarge(17) # 17 because magic in `store`
var i = index_at(key)
var c = node_at_idx(i, key)
if c != null then
var i = index_at(key)
var c = node_at_idx(i, key)
if c != null then
do
_capacity = 0
_the_length = 0
do
_capacity = 0
_the_length = 0
end
redef var keys: RemovableCollection[K] = new HashMapKeys[K, V](self) is lazy
end
redef var keys: RemovableCollection[K] = new HashMapKeys[K, V](self) is lazy
+ if _capacity == 0 then enlarge(17) # 17 because magic in `store`
var i = index_at(item)
var c = node_at_idx(i, item)
if c != null then
var i = index_at(item)
var c = node_at_idx(i, item)
if c != null then
do
_capacity = 0
_the_length = 0
do
_capacity = 0
_the_length = 0
end
# Build a list filled with the items of `coll`.
end
# Build a list filled with the items of `coll`.