ixfx
    Preparing search index...

    Namespace Collections

    This module includes a variety of techniques for storing and retrieving data.

    A queue has the logic of waiting in line at the bakery. First in, first out.

    A stack has the logic of stacked plates. First in, last out.

    Like a regular array, a set can store many items. However, duplicate items are ignored - it only keeps unique items. ixfx's Sets.ISetMutable allows for considering items as identical by value, not just by reference as the default JS Set operates

    // If library is stored two directories up under `ixfx/`
    import {map} from '../../ixfx/dist/collections.js';
    // Import from web
    import {map} from 'https://unpkg.com/ixfx/dist/collections.js'

    Namespaces

    Graphs
    Maps
    Queues
    Sets
    Stacks
    Trees

    Classes

    ExpiringMap
    MapOfSimpleMutable
    QueueImmutable
    QueueMutable
    SetStringImmutable
    SetStringMutable
    StackImmutable
    StackMutable
    Table

    Interfaces

    CircularArray

    Type Aliases

    ArrayKeys
    EitherKey
    ObjectKeys

    Functions

    circularArray