Home

Awesome

Containers-OrderedMultiMap

Build Status https://github.com/Ducasse/Containers-OrderedMultiMap/workflows/currentStablePharo/badge.svg https://github.com/Ducasse/Containers-OrderedMultiMap/workflows/matrix/badge.svg Coverage Status License

<!-- [![Build status](https://ci.appveyor.com/api/projects/status/1wdnjvmlxfbml8qo?svg=true)](https://ci.appveyor.com/project/olekscode/dataframe) -->

OrderedMultimap is a dictionary whose values are a collection.

This package is part of the Containers project: This project is to collect, clean, test and document alternate collection datastructures. Each package is modular so that users can only load the collection they need without 100 of related collections.

Example

To have an overview of the features this datastructure provides, have a look at the following code.

CTOrderedMultiMapTest >> testAllAt [
	self assert: (collection allAt: '1') equals: #().
	collection at: '1' add: 'foo'.
	collection at: '1' add: 'bar'.
	self assert: (collection allAt: '1') equals: #( 'foo' 'bar' ).
	self assert: (collection at: '1') equals: 'foo' 
]

Install

To install this project, run the following script in a playground:

Metacello new
	baseline: 'ContainersOrderedMultiMap';
	repository: 'github://Ducasse/Containers-OrderedMultiMap/src';
	load

If you want to depend on it

spec 
   baseline: 'ContainersOrderedMultiMap' 
   with: [ spec repository: 'github://Ducasse/Containers-OrderedMultiMap/src' ].

The best way to predict the future is to do it! Less talking more doing.