HashSet — Elixir v1.16.3

Search documentation of Elixir

# View Source HashSet (Elixir v1.16.3)

This module is deprecated. Use MapSet instead.

Tuple-based HashSet implementation.

This module is deprecated. Use the `MapSet` module instead.

# Summary

## Types

t()

## Functions

delete(set, term) deprecated
difference(set1, set2) deprecated
disjoint?(set1, set2) deprecated
equal?(set1, set2) deprecated
intersection(set1, set2) deprecated
member?(hash_set, term) deprecated
new() deprecated
put(hash_set, term) deprecated
size(hash_set) deprecated
subset?(set1, set2) deprecated
to_list(set) deprecated
union(set1, set2) deprecated

# Types

Link to this opaque

# t()

View Source

    @opaque t()

# Functions

Link to this function

# delete(set, term)

View Source
This function is deprecated. Use the MapSet module instead.
Link to this function

# difference(set1, set2)

View Source
This function is deprecated. Use the MapSet module instead.
Link to this function

# disjoint?(set1, set2)

View Source
This function is deprecated. Use the MapSet module instead.
Link to this function

# equal?(set1, set2)

View Source
This function is deprecated. Use the MapSet module instead.
Link to this function

# intersection(set1, set2)

View Source
This function is deprecated. Use the MapSet module instead.
Link to this function

# member?(hash_set, term)

View Source
This function is deprecated. Use the MapSet module instead.
Link to this function

# new()

View Source
This function is deprecated. Use the MapSet module instead.

    @spec new() :: Set.t()

Link to this function

# put(hash_set, term)

View Source
This function is deprecated. Use the MapSet module instead.
Link to this function

# size(hash_set)

View Source
This function is deprecated. Use the MapSet module instead.
Link to this function

# subset?(set1, set2)

View Source
This function is deprecated. Use the MapSet module instead.
Link to this function

# to_list(set)

View Source
This function is deprecated. Use the MapSet module instead.
Link to this function

# union(set1, set2)

View Source
This function is deprecated. Use the MapSet module instead.