CrossClj

0.1.0 docs

SourceDocs



RECENT

    com.ifesdjeen.utils

    Clojars

    Mar 23, 2013


    Index of all namespaces


    « Project + dependencies

    FIXME: write description

    com.ifesdjeen.utils.circular-bufferDocsSource
    Ciruclar buffer is FIFO buffer with a fixed size, that replaces it's oldest
    elements when if it's full.
    
    It acts like an immutable data structure, even though has an Java Array underneath.
    
    We've decided not to implement IPersistentStack interface, since in different use cases
    pop and peek may have different meanings. Instead, we implement all-new and all-old.
    
    Implements ISeq and Indexed interface with a least-surprise prinicpe.
    
    Supports first, seq, next, cons from ISeq, nth from Indexed, count from Counted