Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Collection<T>

Type parameters

  • T

Hierarchy

Index

Methods

__@iterator

  • __@iterator(): Iterator<T>

add

  • add(t: T): boolean
  • Parameters

    • t: T

    Returns boolean

    true if this collection changed as a result of the call

clear

  • clear(): any

contains

  • contains(t: T): boolean

forEach

immutableCollection

isEmpty

  • isEmpty(): boolean

iterator

remove

  • remove(t: T): boolean
  • Parameters

    • t: T

    Returns boolean

    true if this collection contained the specified element

size

  • size(): number

Generated using TypeDoc