maxwilms/data-structures 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

maxwilms/data-structures

Composer 安装命令:

composer require maxwilms/data-structures

包简介

Collection of data structures for PHP

README 文档

README

Collection of Data Structures for various purposes.

Installation

First install composer.

Require the data structure collection via composer:

composer require maxwilms/data-structures

Now you are ready to use it!

BitArray

Data Structure to compactly store bits.

<?php

use maxwilms\DataSructures\BitArray;

$bitArray = new BitArray(1000); // should store 1000 bits.

$bitArray->set(3); // set a single bit

$bitArray->has(3); // true
$bitArray->has(17); // false

统计信息

  • 总下载量: 27
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-08-06