Interface Structure

Interface for data structures.

Hierarchy

Implemented by

Properties

clear: (() => void)

Type declaration

    • (): void
    • Clears the structure.

      Returns void

hasRoom: boolean

Indicates whether the structure has room for more elements.

isEmpty: boolean

Indicates whether the structure is empty.

isFull: boolean

Indicates whether the structure is full.

space: number

The available space in the structure.