Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LimitedArray<T>

Type parameters

  • T

Hierarchy

  • LimitedArray

Index

Constructors

Properties

Methods

Constructors

constructor

  • Type parameters

    • T

    Parameters

    • limitArg: number

    Returns LimitedArray<T>

Properties

array

array: T[] = []

arrayLimit

arrayLimit: number

Methods

addMany

  • addMany(objectArrayArg: T[]): void
  • Parameters

    • objectArrayArg: T[]

    Returns void

addOne

  • addOne(objectArg: T): void
  • Parameters

    • objectArg: T

    Returns void

getAverage

  • getAverage(): number
  • Returns number

setLimit

  • setLimit(limitArg: number): void
  • Parameters

    • limitArg: number

    Returns void

Generated using TypeDoc