📜  PHP SPL 数据结构完整参考

📅  最后修改于: 2022-05-13 01:56:24.441000             🧑  作者: Mango

PHP SPL 数据结构完整参考

标准PHP库 (SPL) 标准数据结构的集合。 SPL 数据结构根据其实现对内容进行分组。双向链表的内容是:

  • Spl双链表
  • SplStack
  • SplQueue
  • 分裂堆
  • 最大堆
    • SplMinHeap
    • SplPriorityQueue
    • SplFixedArray
    • SplObjectStorage

    SplDoublyLinkedList 函数

    • PHP | Spl双链表
    • PHP | SplDoublyLinkedList::add()函数
    • PHP | SplDoublyLinkedList::bottom()函数
    • PHP | SplDoublyLinkedList::count()函数
    • PHP | SplDoublyLinkedList::current()函数
    • PHP | SplDoublyLinkedList::isEmpty()函数
    • PHP | SplDoublyLinkedList::key()函数
    • PHP | SplDoublyLinkedList::next()函数
    • PHP | SplDoublyLinkedList::offsetExists()函数
    • PHP | SplDoublyLinkedList::offsetGet()函数
    • PHP | SplDoublyLinkedList::offsetSet()函数
    • PHP | SplDoublyLinkedList::offsetUnset()函数
    • PHP | SplDoublyLinkedList::pop()函数
    • PHP | SplDoublyLinkedList::prev()函数
    • PHP | SplDoublyLinkedList::push()函数
    • PHP | SplDoublyLinkedList::rewind()函数
    • PHP | SplDoublyLinkedList::shift()函数
    • PHP | SplDoublyLinkedList::top()函数
    • PHP | SplDoublyLinkedList::unshift()函数

    SplFixedArray 函数

    • PHP | SplFixedArray::count()函数
    • PHP | SplFixedArray::current()函数
    • PHP | SplFixedArray::getSize()函数
    • PHP | SplFixedArray::key()函数
    • PHP | SplFixedArray::next()函数
    • PHP | SplFixedArray::offsetExists()函数
    • PHP | SplFixedArray::offsetGet()函数
    • PHP | SplFixedArray::offsetUnset()函数
    • PHP | SplFixedArray::offsetUnset()函数
    • PHP | SplFixedArray::setSize()函数
    • PHP | SplFixedArray::toArray()函数
    • PHP | SplFixedArray::valid()函数

    SplObjectStorage 函数

    • PHP | SplObjectStorage::addAll()函数
    • PHP | SplObjectStorage::attach()函数
    • PHP | SplObjectStorage::contains()函数
    • PHP | SplObjectStorage::count()函数
    • PHP | SplObjectStorage::current()函数
    • PHP | SplObjectStorage::detach()函数
    • PHP | SplObjectStorage::getinfo()函数
    • PHP | SplObjectStorage::key()函数
    • PHP | SplObjectStorage::next()函数
    • PHP | SplObjectStorage::offsetExists()函数
    • PHP | SplObjectStorage::offsetGet()函数
    • PHP | SplObjectStorage::offsetSet()函数
    • PHP | SplObjectStorage::offsetUnset()函数
    • PHP | SplObjectStorage::removeAll()函数
    • PHP | SplObjectStorage::removeAllExcept()函数
    • PHP | SplObjectStorage::rewind()函数
    • PHP | SplObjectStorage::serialize()函数
    • PHP | SplObjectStorage::setInfo()函数
    • PHP | SplObjectStorage::unserialize()函数
    • PHP | SplObjectStorage::valid()函数

    SplQueue 函数

    • PHP | SplQueue::__construct()函数
    • PHP | SplQueue::dequeue()函数
    • PHP | SplQueue::enqueue()函数