src/swipl-devel/packages/xpce/man/refmanual/md/hash_table.md

class hash_table {#class-hash_table}

The PCE class hash_table implements a fast associative table. Hash-tables are commonly used to map symbols on values. For example, PCE itself uses the hash_table @classes to map class names onto class objects.

PCE hash_tables are implemented as closed hash_tables. The number of buckets in enlarged automatically as the number of symbols in the table grows.

Note that hash_tables implement the standard set operations ->for_all, ->for_some, <-find_key and <-find_value.

See also class chain_table (mapping a key onto multiple values), class sheet and class table (multi-column indexed table).

@see class sheet @see class table

Instance variables {#class-hash_table-instvars}

Send methods {#class-hash_table-send}

Get methods {#class-hash_table-get}



Try the rswipl package in your browser

Any scripts or data that you put into this service are public.

rswipl documentation built on June 16, 2026, 5:07 p.m.