Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RingBuffer<T>

Type parameters

  • T

Hierarchy

  • RingBuffer

Index

Properties

Properties

clear

clear: () => void

Type declaration

    • (): void
    • Returns void

count

count: number

data

data: T[]

get

get: (value: number) => T

Type declaration

    • (value: number): T
    • Parameters

      • value: number

      Returns T

has

has: (value: T) => boolean

Type declaration

    • (value: T): boolean
    • Parameters

      • value: T

      Returns boolean

push

push: (value: T) => void

Type declaration

    • (value: T): void
    • Parameters

      • value: T

      Returns void

Generated using TypeDoc