Options
All
  • Public
  • Public/Protected
  • All
Menu

Class KavenCollection<T>

Type parameters

  • T

Hierarchy

  • KavenCollection

Implements

Index

Constructors

  • Type parameters

    • T

    Parameters

    • Optional str: string

    Returns KavenCollection<T>

Accessors

  • get Count(): number
  • Returns number

Methods

  • Add(key: string, value: T): boolean
  • Parameters

    • key: string
    • value: T

    Returns boolean

  • ContainsKey(key: string): boolean
  • Parameters

    • key: string

    Returns boolean

  • GetValue(key: string, defaultValue?: T): undefined | T
  • Parameters

    • key: string
    • Optional defaultValue: T

    Returns undefined | T

  • Keys(): string[]
  • Returns string[]

  • Remove(key: string): T
  • Parameters

    • key: string

    Returns T

  • ToString(space?: string | number, replacer?: null | (string | number)[]): string
  • Parameters

    • Optional space: string | number
    • Optional replacer: null | (string | number)[]

    Returns string

  • Values(): T[]

Generated using TypeDoc