Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ducasse/containers-orderedmultimap
https://github.com/ducasse/containers-orderedmultimap
collection pharo
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ducasse/containers-orderedmultimap
- Owner: Ducasse
- Created: 2018-05-01T20:07:45.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-09-03T19:00:50.000Z (over 2 years ago)
- Last Synced: 2024-11-17T06:40:27.157Z (about 1 month ago)
- Topics: collection, pharo
- Language: Smalltalk
- Size: 39.1 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Containers-OrderedMultiMap
[![Build Status](https://travis-ci.com/Ducasse/Containers-OrderedMultiMap.svg?branch=master)](https://travis-ci.com/Ducasse/Containers-OrderedMultiMap)
![https://github.com/Ducasse/Containers-OrderedMultiMap/workflows/currentStablePharo/badge.svg](https://github.com/Ducasse/Containers-OrderedMultiMap/workflows/currentStablePharo/badge.svg)
![https://github.com/Ducasse/Containers-OrderedMultiMap/workflows/matrix/badge.svg](https://github.com/Ducasse/Containers-OrderedMultiMap/workflows/matrix/badge.svg)
[![Coverage Status](https://coveralls.io/repos/github//Ducasse/Containers-OrderedMultiMap/badge.svg?branch=master)](https://coveralls.io/github//Ducasse/Containers-Grid?branch=master)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)]()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.```st
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:```st
Metacello new
baseline: 'ContainersOrderedMultiMap';
repository: 'github://Ducasse/Containers-OrderedMultiMap/src';
load
```## If you want to depend on it
```smalltalk
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.