add


Description:

public bool add (string uid, uint indices_index)

Notifies the this that a new contact with UID uid had been added to the set and it occupies the indices_index index in the indices.

In case the uid had been added previously its index is modified instead.

This function can be used only after initial call to take_indices.

Parameters:

this

an BookIndicesUpdater

uid

a UID of a contact

indices_index

index to the indices array the contact belongs to

Returns:

whether the indices changed