Categories: None [Edit]

multiset

https://rubygems.org/gems/multiset
https://github.com/maraigue/multiset
Unlike ordinary set(see Ruby documentation for "set" library), multiset can contain two or more same items. Set[:a,:b,:c,:b,:b,:c] # => #<Set: {:b, :c, :a}> Multiset[:a,:b,:c,:b,:b,:c] # => #<Multiset:#3 :b, #2 :c, #1 :a> Multisets are typically used for counting elements and their appearances in collections.

Total

Ranking: 9,192 of 196,338
Downloads: 421,865

Daily

Ranking: 7,006 of 196,320
Downloads: 113

Depended by

RankDownloadsName
25,97459,609roundtrip_xml
84,61211,326reddit_bag_of_words

Depends on

RankDownloadsName
153338,880,713rdoc
2,3839,526,385hoe

Owners

#GravatarHandle
1iconmaraigue