| 1 |
An unordered multiset/bag implementation backed by `HashMap`. |
| 2 |
|
| 3 |
A bag, unlike a set, allows duplicate values, and keeps track of how many |
| 4 |
duplicates each value holds. This type of collection is often referred to |
| 5 |
as an unordered multiset (see also C++'s [`std::unordered_multiset`]). |
| 6 |
|
| 7 |
[`std::unordered_multiset`]: http://www.cplusplus.com/reference/unordered_set/unordered_multiset/ |
| 8 |
|
| 9 |
## License |
| 10 |
|
| 11 |
Licensed under either of |
| 12 |
|
| 13 |
* Apache License, Version 2.0 |
| 14 |
([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0) |
| 15 |
* MIT license |
| 16 |
([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) |
| 17 |
|
| 18 |
at your option. |
| 19 |
|
| 20 |
## Contribution |
| 21 |
|
| 22 |
Unless you explicitly state otherwise, any contribution intentionally submitted |
| 23 |
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be |
| 24 |
dual licensed as above, without any additional terms or conditions. |