Constructor.
Clears all bucket infos and sets the number of non-empty buckets to 0.
Clears all bucket infos, sets the number of non-empty buckets to 0 and sets the total number of buckets to n.
Creates a bucket info for the currently empty bucket specified by bucket_index, sets the length to 1; increases the number of non-empty buckets by 1.
Obtains the list of bucket infos for the non-empty buckets. Each element contains the bucket index and the number of elements in the bucket.
Obtains the number of elements in the bucket specified by bucket_index.
Increases the length of the bucket info for the bucket specified by bucket_index by 1. If the bucket is currently empty, a bucket info is created and the number of non-empty buckets increased by 1.
Decreases the length of the bucket info for the non-empty bucket specified by bucket_index by 1. Decreases the number of non-empty buckets by 1 if the bucket becomes empty.
Increases the length of the bucket info for the non-empty bucket specified by bucket_index by 1.
Information about a non-empty bucket.