hash_fn: Get hash function of an hash table

View source: R/generics.R

hash_fnR Documentation

Get hash function of an hash table

Description

Returns the hash function used for key hashing in an hash table (hashset or hashmap).

Usage

hash_fn(x)

## S3 method for class 'r2r_hashtable'
hash_fn(x)

Arguments

x

an hashset or hashmap.

Value

a function.

Author(s)

Valerio Gherardi

Examples

s <- hashset()
hash_fn(s)

vgherard/r2r documentation built on Nov. 10, 2024, 4:36 a.m.