Skip to content

SmiljanaKnezev/Containers-OrderedMultiMap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Containers-OrderedMultiMap

Build Status Coverage Status License Pharo version Pharo version Pharo version

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 provide, have a look at the following code snippet (extracted from a unit test:

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: 'ContainersStack' 
   with: [ spec repository: 'github://Ducasse/Containers-OrderedMultiMap/src' ].

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Smalltalk 99.5%
  • HTML 0.5%