On this page
HashDict
This module is deprecated. Use Map instead.
Tuple-based HashDict implementation.
This module is deprecated. Use the Map
module instead.
Types
Functions
- delete(dict, key) deprecated
- drop(dict, keys) deprecated
- equal?(dict1, dict2) deprecated
- fetch(hash_dict, key) deprecated
- fetch!(dict, key) deprecated
- get(dict, key, default \\ nil) deprecated
- get_and_update(dict, key, fun) deprecated
- get_lazy(dict, key, fun) deprecated
- has_key?(dict, key) deprecated
- keys(dict) deprecated
- new() deprecated
-
Creates a new empty dict.
- pop(dict, key, default \\ nil) deprecated
- pop_lazy(dict, key, fun) deprecated
- put(hash_dict, key, value) deprecated
- put_new(dict, key, value) deprecated
- put_new_lazy(dict, key, fun) deprecated
- size(hash_dict) deprecated
- split(dict, keys) deprecated
- take(dict, keys) deprecated
- to_list(dict) deprecated
- update(dict, key, default, fun) deprecated
- update!(dict, key, fun) deprecated
- values(dict) deprecated
t()Source
@opaque t()
delete(dict, key)Source
This function is deprecated. Use maps and the Map module instead.
drop(dict, keys)Source
This function is deprecated. Use maps and the Map module instead.
equal?(dict1, dict2)Source
This function is deprecated. Use maps and the Map module instead.
fetch(hash_dict, key)Source
This function is deprecated. Use maps and the Map module instead.
fetch!(dict, key)Source
This function is deprecated. Use maps and the Map module instead.
get(dict, key, default \\ nil)Source
This function is deprecated. Use maps and the Map module instead.
get_and_update(dict, key, fun)Source
This function is deprecated. Use maps and the Map module instead.
get_lazy(dict, key, fun)Source
This function is deprecated. Use maps and the Map module instead.
has_key?(dict, key)Source
This function is deprecated. Use maps and the Map module instead.
keys(dict)Source
This function is deprecated. Use maps and the Map module instead.
merge(dict1, dict2, fun \\ fn _k, _v1, v2 -> v2 end)Source
This function is deprecated. Use maps and the Map module instead.
new()Source
This function is deprecated. Use maps and the Map module instead.
@spec new() :: Dict.t()
Creates a new empty dict.
pop(dict, key, default \\ nil)Source
This function is deprecated. Use maps and the Map module instead.
pop_lazy(dict, key, fun)Source
This function is deprecated. Use maps and the Map module instead.
put(hash_dict, key, value)Source
This function is deprecated. Use maps and the Map module instead.
put_new(dict, key, value)Source
This function is deprecated. Use maps and the Map module instead.
put_new_lazy(dict, key, fun)Source
This function is deprecated. Use maps and the Map module instead.
size(hash_dict)Source
This function is deprecated. Use maps and the Map module instead.
split(dict, keys)Source
This function is deprecated. Use maps and the Map module instead.
take(dict, keys)Source
This function is deprecated. Use maps and the Map module instead.
to_list(dict)Source
This function is deprecated. Use maps and the Map module instead.
update(dict, key, default, fun)Source
This function is deprecated. Use maps and the Map module instead.
update!(dict, key, fun)Source
This function is deprecated. Use maps and the Map module instead.
values(dict)Source
This function is deprecated. Use maps and the Map module instead.
© 2012 Plataformatec
Licensed under the Apache License, Version 2.0.
https://hexdocs.pm/elixir/1.15.4/HashDict.html