# NOT RUN {
H <- hashmap(sample(letters[1:10]), sample(1:10))
tf <- tempfile()
save_hashmap(H, tf)
inherits(
try(save_hashmap(H, tf, FALSE), silent = TRUE),
"try-error"
)
H$insert("zzzzz", 123L)
save_hashmap(H, tf)
load_hashmap(tf)
# }
Run the code above in your browser using DataLab