ICollection<T>

Overview

Base collection interface.

Location


Required Methods


Add

 

method Add(val: T)

 

void Add(T val)

 

func Add(_ val: T)

 

void Add(T val)

 

Sub Add(val As T)

Parameters:

  • val:

Clear

 

method Clear

 

void Clear()

 

func Clear()

 

void Clear()

 

Sub Clear()

Contains

Returns true if this collection contains this element.

 

method Contains(val: T): Boolean

 

Boolean Contains(T val)

 

func Contains(_ val: T) -> Boolean

 

Boolean Contains(T val)

 

Function Contains(val As T) As Boolean

Parameters:

  • val:

Remove

Removes this element from the collection.

 

method Remove(val: T): Boolean

 

Boolean Remove(T val)

 

func Remove(_ val: T) -> Boolean

 

Boolean Remove(T val)

 

Function Remove(val As T) As Boolean

Parameters:

  • val:

Implemented in

Implements