Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • QuickLRU

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

_size

_size: number = 0

cache

cache: object

Type declaration

maxSize

maxSize: number = 0

oldCache

oldCache: object

Type declaration

Methods

_set

  • _set(key: any, value: any): void
  • Parameters

    • key: any
    • value: any

    Returns void

delete

  • delete(key: any): void

get

  • get<T>(key: any): T | void
  • Type parameters

    • T

    Parameters

    • key: any

    Returns T | void

has

  • has(key: any): boolean

set

  • set<T>(key: string, value: T): this
  • Type parameters

    • T

    Parameters

    • key: string
    • value: T

    Returns this

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc