compare_fn: Get key comparison function of an hash table

Description Usage Arguments Value Author(s) Examples

View source: R/generics.R

Description

Returns the key comparison function of an hash table (hashset or hashmap).

Usage

1
2
3
4
compare_fn(x)

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

Arguments

x

an hashset or hashmap.

Value

a function.

Author(s)

Valerio Gherardi

Examples

1
2
s <- hashset()
compare_fn(s)

r2r documentation built on July 6, 2021, 5:12 p.m.