RubyGems Navigation menu

multiset 0.5.1

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.

Versions:

  1. 0.5.1 - August 10, 2014 (24 KB)
  2. 0.5.0 - May 15, 2014 (24 KB)
  3. 0.4.1 - December 1, 2013 (24 KB)
  4. 0.4.0 - August 15, 2012 (22.5 KB)
  5. 0.3.0 - March 24, 2011 (19.5 KB)

Development Dependencies:

Authors:

  • H.Hiro(Maraigue)

Owners:

3970495ae18c6a912920cac628166270

Total downloads 9,134

For this version 372

Required Ruby Version: >= 0

Licenses:

N/A

Gemfile:
gem 'multiset', '~> 0.5.1' = Copy to clipboard Copied!

install:
gem install multiset = Copy to clipboard Copied!

Links: