Gjsify LogoGjsify Logo

Opaque type representing a set of unsigned integers.

Before 0.11.16, this type was called TpIntSet, which is now a backwards compatibility typedef.

record

Hierarchy

  • Intset

Index

Constructors

Properties

name: string

Methods

  • add(element: number): void
  • clear(): void
  • destroy(): void
  • differenceUpdate(other: Intset): void
  • Remove each integer in other from self, analogous to the bitwise operation self &= (~other).

    Parameters

    • other: Intset

      members to remove

    Returns void

  • dump(): string
  • isEmpty(): boolean
  • isEqual(right: Intset): boolean
  • isMember(element: number): boolean
  • remove(element: number): boolean
  • size(): number
  • toArray(): number[]
  • unionUpdate(other: Intset): void
  • Add each integer in other to self, analogous to the bitwise operation self |= other.

    Parameters

    Returns void

  • fromArray(array: number[]): Intset
  • newContaining(element: number): Intset
  • sizedNew(size: number): Intset
  • Allocate a new integer set.

    Parameters

    • size: number

      ignored (it was previously 1 more than the largest integer you expect to store)

    Returns Intset

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • 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