This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
multimap /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Mon May 25 18:33:36 -0700 2009 | |
| |
LICENSE | Fri Nov 13 09:10:52 -0800 2009 | |
| |
README.rdoc | Sun Dec 06 11:33:02 -0800 2009 | |
| |
Rakefile | Sun Dec 06 11:25:21 -0800 2009 | |
| |
benchmarks/ | Tue May 26 09:47:57 -0700 2009 | |
| |
ext/ | Mon Nov 23 21:00:28 -0800 2009 | |
| |
extras/ | Sat Nov 28 14:56:08 -0800 2009 | |
| |
lib/ | Sun Dec 06 11:33:02 -0800 2009 | |
| |
multimap.gemspec | Sun Dec 06 11:33:02 -0800 2009 | |
| |
spec/ | Sun Nov 29 12:10:43 -0800 2009 |
README.rdoc
Multimap
A Ruby multimap implementation that also includes multiset and nested multimap implementations.
Example
require 'multimap'
map = Multimap.new
map["a"] = 100
map["b"] = 200
map["a"] = 300
map["a"] # -> [100, 300]
map["b"] # -> [200]
map.keys # -> #<Multiset: {"a", "a", "b"}>







