BucketSet.put_

Adds or updates a mapping from the specified key.

  1. Bucket.Element* put_(K key, bool added)
  2. Bucket.Element* put_(K key)
    class BucketSet(size_t V, K = hash_t)
    protected final
    put_
    (
    K key
    )

Parameters

key K

key to add/update mapping for

Return Value

Type: Bucket.Element*

the element mapped to by the specified key. The caller should set the value as desired and make sure that the key is not changed.

Meta