Free Touch Pricker
    Preparing search index...

    Class RandomAccessContainer<Block>Abstract

    Abstract container that allows random insertion of child blocks

    Child blocks may be inserted or removed anywhere within the container. Might be used to represent a touch of Stedman or a course of spliced.

    Type Parameters

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _blocks: Block[] = []

    Blocks within the container

    _initialRow: Row

    Initial row for the block

    _ownership?: BlockOwnership

    Ownership of this block

    Accessors

    • get index(): number | undefined

      Allows public access to the index

      Returns number | undefined

    • get initialRow(): Row

      Read access to the initial row

      Returns Row

    • set initialRow(initialRow: Row): void

      Write access to the initial row

      Parameters

      • initialRow: Row

      Returns void

    • get rows(): number

      Estimates the number of rows in the block The estimate doesn't take into account coming round part-way through

      Returns number

    Methods