joelharkes/data-structures
最新稳定版本:1.0.0
Composer 安装命令:
composer require joelharkes/data-structures
包简介
Data structures for PHP
README 文档
README
Data structures for PHP written in PHP.
Goal is to provide useful chainable methods for standard data structures, with a balance between as much type safety as possible and ease of use.
- Stack
- StackedList
- Set (HashSet)
- Collection (php array, similar to HashMap, Dictionary)
Iterator chaining
All iterators have been extended to chaining and delayed execution.
$set = new \DataStructures\Set\Set(); $set->getIterator() ->filter(fn($value) => $value === 1) ->map(fn($value) => $value === 1) ->count(); // or all(), any().
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-08-29