Download the PHP package mf-miko/sorted-linked-list without Composer
On this page you can find all versions of the php package mf-miko/sorted-linked-list. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mf-miko/sorted-linked-list
More information about mf-miko/sorted-linked-list
Files in mf-miko/sorted-linked-list
Download mf-miko/sorted-linked-list
More information about mf-miko/sorted-linked-list
Files in mf-miko/sorted-linked-list
Vendor mf-miko
Package sorted-linked-list
Short Description A simple type-safe sorted singly linked list for int or string values in PHP.
License MIT
Package sorted-linked-list
Short Description A simple type-safe sorted singly linked list for int or string values in PHP.
License MIT
Please rate this library. Is it a good library?
Informations about the package sorted-linked-list
SortedLinkedList
A simple, type-safe, sorted singly linked list implementation in PHP supporting int
or string
values — but not both in the same list.
Features
- Maintains ascending order on every insertion.
- Enforces single scalar type (
int
orstring
) throughout the list. - Supports common list operations:
insert()
delete()
deleteAllOf()
find()
exists()
clear()
toArray()
Installation
You can include this class in your project via Composer:
Usage
Type enforcement
First value inserted determines type accepted by particular instance of SortedLinkedList. Any future insert of a mismatched type will throw InvalidArgumentException
. Function clear() resets the type enforcement.
All versions of sorted-linked-list with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
The package mf-miko/sorted-linked-list contains the following files
Loading the files please wait ....