generic
package Hash_G.Statistics_G is
function Nb_Probes_for_Insert
( Hash_Table : in Hash_Table_Type;
Key : in Key_Type )
return Natural;
-- Returns the number of probes which would be necessary to insert
-- this 'Key'. The table is not modified. If necessary, the
-- exceptions 'Table_Full_Error' and 'Key_Exists_Error' are raised.
function Nb_Probes_for_Retrieve
( Hash_Table : in Hash_Table_Type;
Key : in Key_Type )
return Natural;
-- Returns the number of probes which would be necessary to
-- retrieve this 'Key'. If necessary, the exception
-- 'Key_Not_Found_Error' is raised.
end Hash_G.Statistics_G;