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,302 of 192,034
Downloads: 366,714

Daily

Ranking: 6,895 of 191,980
Downloads: 426

Depended by

RankDownloadsName
25,54557,946roundtrip_xml
83,78811,023reddit_bag_of_words

Depends on

RankDownloadsName
167293,315,782rdoc
2,3439,222,992hoe

Owners

#GravatarHandle
1iconmaraigue