{"id":27842589,"url":"https://github.com/dart-lang/collection","last_synced_at":"2025-05-03T06:01:13.515Z","repository":{"id":27765710,"uuid":"31254008","full_name":"dart-archive/collection","owner":"dart-archive","description":"The collection package for Dart contains a number of separate libraries with utility functions and classes that makes working with collections easier.","archived":true,"fork":false,"pushed_at":"2024-10-21T07:33:45.000Z","size":593,"stargazers_count":382,"open_issues_count":0,"forks_count":86,"subscribers_count":41,"default_branch":"master","last_synced_at":"2025-04-20T13:06:56.609Z","etag":null,"topics":["algorithms","algorithms-and-data-structures","dart","data-structures"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/collection","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dart-archive.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-02-24T09:58:44.000Z","updated_at":"2025-03-07T21:44:16.000Z","dependencies_parsed_at":"2023-11-21T00:25:14.183Z","dependency_job_id":"ce170891-e783-480d-b807-9d20813e30cc","html_url":"https://github.com/dart-archive/collection","commit_stats":{"total_commits":232,"total_committers":49,"mean_commits":4.73469387755102,"dds":0.8448275862068966,"last_synced_commit":"96afcc2fce622ea7e75053af5b73f8db07491bc4"},"previous_names":["dart-archive/collection","dart-lang/collection"],"tags_count":43,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dart-archive%2Fcollection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dart-archive%2Fcollection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dart-archive%2Fcollection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dart-archive%2Fcollection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dart-archive","download_url":"https://codeload.github.com/dart-archive/collection/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252149191,"owners_count":21702083,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithms","algorithms-and-data-structures","dart","data-structures"],"created_at":"2025-05-03T06:00:38.867Z","updated_at":"2025-05-03T06:01:13.420Z","avatar_url":"https://github.com/dart-archive.png","language":"Dart","funding_links":[],"categories":["Libraries"],"sub_categories":["Utility"],"readme":"\u003e [!IMPORTANT]  \n\u003e This repo has moved to https://github.com/dart-lang/core/tree/main/pkgs/collection\n\n[![Dart CI](https://github.com/dart-lang/collection/actions/workflows/ci.yml/badge.svg)](https://github.com/dart-lang/collection/actions/workflows/ci.yml)\n[![pub package](https://img.shields.io/pub/v/collection.svg)](https://pub.dev/packages/collection)\n[![package publisher](https://img.shields.io/pub/publisher/collection.svg)](https://pub.dev/packages/collection/publisher)\n\nContains utility functions and classes in the style of `dart:collection` to make\nworking with collections easier.\n\n## Algorithms\n\nThe package contains functions that operate on lists.\n\nIt contains ways to shuffle a `List`, do binary search on a sorted `List`, and\nvarious sorting algorithms.\n\n## Equality\n\nThe package provides a way to specify the equality of elements and collections.\n\nCollections in Dart have no inherent equality. Two sets are not equal, even\nif they contain exactly the same objects as elements.\n\nThe `Equality` interface provides a way to define such an equality. In this\ncase, for example, `const SetEquality(IdentityEquality())` is an equality\nthat considers two sets equal exactly if they contain identical elements.\n\nEqualities are provided for `Iterable`s, `List`s, `Set`s, and `Map`s, as well as\ncombinations of these, such as:\n\n```dart\nconst MapEquality(IdentityEquality(), ListEquality());\n```\n\nThis equality considers maps equal if they have identical keys, and the\ncorresponding values are lists with equal (`operator==`) values.\n\n## Iterable Zip\n\nUtilities for \"zipping\" a list of iterables into an iterable of lists.\n\n## Priority Queue\n\nAn interface and implementation of a priority queue.\n\n## Wrappers\n\nThe package contains classes that \"wrap\" a collection.\n\nA wrapper class contains an object of the same type, and it forwards all\nmethods to the wrapped object.\n\nWrapper classes can be used in various ways, for example to restrict the type\nof an object to that of a supertype, or to change the behavior of selected\nfunctions on an existing object.\n\n## Features and bugs\n\nPlease file feature requests and bugs at the [issue tracker][tracker].\n\n[tracker]: https://github.com/dart-lang/collection/issues\n\n## Publishing automation\n\nFor information about our publishing automation and release process, see\nhttps://github.com/dart-lang/ecosystem/wiki/Publishing-automation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdart-lang%2Fcollection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdart-lang%2Fcollection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdart-lang%2Fcollection/lists"}