Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UniqueList<T>

Type parameters

Hierarchy

Index

Constructors

constructor

Properties

Readonly list

list: Array<T> = []

Readonly type

type: INewable<T>

Methods

add

  • add(item: T): void

clear

  • clear(): void

find

  • find(name: string): undefined | T

load

make

  • make(...args: any[]): T

moveDown

  • moveDown(item: T): void

moveUp

  • moveUp(item: T): void

remove

  • remove(item: T): void

sort

  • sort(): void

swap

  • swap(left: number, right: number): void

throwIfExist

  • throwIfExist(name: string): void

toJSON

  • toJSON(key: string): { list: T[] }

Generated using TypeDoc