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,851 of 187,622
Downloads: 298,084

Daily

Ranking: 7,079 of 187,603
Downloads: 197

Depended by

RankDownloadsName
25,39955,348roundtrip_xml
83,17910,666reddit_bag_of_words

Depends on

RankDownloadsName
182248,553,813rdoc
2,2978,989,939hoe

Owners

#GravatarHandle
1iconmaraigue