Set<T>

Overview

Location

  • Reference:
    • Silver.dll  .NET, .NET Standard 2.0
    • silver.jar  Cooper
    • Silver.fx  Island
    • libSilver.fx  Toffee
  • Namespace: Swift
  • Ancestry:


 

constructor

 

constructor

 

Set<T>()

 

init()

 

Set<T>()

 

Sub New()

constructor (not nullable NSMutableSet<not nullable T>) Toffee

 

init(_ theSet: NSMutableSet<not nullable T>)

Parameters:

  • theSet:

constructor (Set<T>) Cooper

 

constructor(value: Set<T>)

 

Set<T>(Set<T> value)

 

init(_ value: Set<T>)

 

Set<T>(Set<T> value)

 

Sub New(value As Set<T>)

Parameters:

  • value:

constructor withArrayLiteral(array of not nullable T)

 

constructor withArrayLiteral(params elements: array of not nullable T)

 

Set<T> withArrayLiteral(params T![] elements)

 

init(withArrayLiteral elements: T...)

 

Set<T> withArrayLiteral(T[]... elements)

 

Sub New withArrayLiteral(ParamArray elements As T())

Parameters:

  • elements:

constructor withMinimumCapacity(not nullable Int)

 

constructor withMinimumCapacity(minimumCapacity: not nullable Int)

 

Set<T> withMinimumCapacity(Int! minimumCapacity)

 

init(withMinimumCapacity minimumCapacity: Int)

 

Set<T> withMinimumCapacity(Int minimumCapacity)

 

Sub New withMinimumCapacity(minimumCapacity As Int)

Parameters:

  • minimumCapacity:

clone Cooper

 

method clone: Object

 

Object clone()

 

func clone() -> Object

 

Object clone()

 

Function clone() As Object

contains  virtual

 

method contains(member: not nullable T): not nullable Bool

 

Bool! contains(T! member)

 

func contains(_ member: T) -> Bool

 

Bool contains(T member)

 

Function contains(member As T) As Bool

Parameters:

  • member:

count  virtual

 

property count: not nullable Int read;

 

Int! count { get; }

 

var count: Int { get{} }

 

Int count { __get; }

 

ReadOnly Property count() As Int

description  override

 

method description: not nullable String

 

String! description()

 

func description() -> String

 

String description()

 

Function description() As String

exclusiveOr  virtual

 

method exclusiveOr(anotherSet: not nullable Set<not nullable T>): not nullable Set<not nullable T>

 

Set<not nullable T>! exclusiveOr(Set<not nullable T>! anotherSet)

 

func exclusiveOr(_ anotherSet: Set<not nullable T>) -> Set<not nullable T>

 

Swift.Set<T> exclusiveOr(Swift.Set<T> anotherSet)

 

Function exclusiveOr(anotherSet As Set<not nullable T>) As Set<not nullable T>

Parameters:

  • anotherSet:

first  virtual

 

property first: nullable T read;

 

T? first { get; }

 

var first: T? { get{} }

 

T first { __get; }

 

ReadOnly Property first() As T?

GetEnumerator  virtual Island

 

method GetEnumerator: IEnumerator<not nullable T>

 

IEnumerator<not nullable T> GetEnumerator()

 

func GetEnumerator() -> IEnumerator<not nullable T>

 

Function GetEnumerator() As IEnumerator<not nullable T>

GetEnumerator .NET, .NET Standard 2.0

 

method GetEnumerator: IEnumerator<not nullable T>

 

IEnumerator<not nullable T> GetEnumerator()

 

func GetEnumerator() -> IEnumerator<not nullable T>

 

Function GetEnumerator() As IEnumerator<not nullable T>

GetSequence  virtual

 

method GetSequence: not nullable IEnumerable<not nullable T>

 

IEnumerable<not nullable T>! GetSequence()

 

func GetSequence() -> INSFastEnumeration<not nullable T>

 

Iterable<T> GetSequence()

 

Function GetSequence() As IEnumerable<not nullable T>

insert  virtual

 

method insert(member: not nullable T)

 

void insert(T! member)

 

func insert(_ member: T)

 

void insert(T member)

 

Sub insert(member As T)

Parameters:

  • member:

intersection  virtual

 

method intersection(anotherSet: not nullable Set<not nullable T>): not nullable Set<not nullable T>

 

Set<not nullable T>! intersection(Set<not nullable T>! anotherSet)

 

func intersection(_ anotherSet: Set<not nullable T>) -> Set<not nullable T>

 

Swift.Set<T> intersection(Swift.Set<T> anotherSet)

 

Function intersection(anotherSet As Set<not nullable T>) As Set<not nullable T>

Parameters:

  • anotherSet:

isEmpty  virtual

 

property isEmpty: not nullable Bool read;

 

Bool! isEmpty { get; }

 

var isEmpty: Bool { get{} }

 

Bool isEmpty { __get; }

 

ReadOnly Property isEmpty() As Bool

iterator Cooper

 

method iterator: Iterator<not nullable T>

 

Iterator<not nullable T> iterator()

 

func iterator() -> Iterator<not nullable T>

 

Iterator<T> iterator()

 

Function iterator() As Iterator<not nullable T>

remove  virtual

 

method remove(member: not nullable T): nullable T

 

T? remove(T! member)

 

func remove(_ member: T) -> T?

 

T remove(T member)

 

Function remove(member As T) As T?

Parameters:

  • member:

removeAll  virtual

 

method removeAll keepCapacity(keepCapacity: not nullable Bool)

 

void removeAll keepCapacity(Bool! keepCapacity)

 

func removeAll(keepCapacity: Bool)

 

void removeAll keepCapacity(Bool keepCapacity)

 

Sub removeAll keepCapacity(keepCapacity As Bool)

Parameters:

  • keepCapacity:

subtracting  virtual

 

method subtracting(anotherSet: not nullable Set<not nullable T>): not nullable Set<not nullable T>

 

Set<not nullable T>! subtracting(Set<not nullable T>! anotherSet)

 

func subtracting(_ anotherSet: Set<not nullable T>) -> Set<not nullable T>

 

Swift.Set<T> subtracting(Swift.Set<T> anotherSet)

 

Function subtracting(anotherSet As Set<not nullable T>) As Set<not nullable T>

Parameters:

  • anotherSet:

toString Cooper

 

method toString: String

 

String toString()

 

func toString() -> String

 

String toString()

 

Function toString() As String

union  virtual

 

method union(anotherSet: not nullable Set<not nullable T>): not nullable Set<not nullable T>

 

Set<not nullable T>! union(Set<not nullable T>! anotherSet)

 

func union(_ anotherSet: Set<not nullable T>) -> Set<not nullable T>

 

Swift.Set<T> union(Swift.Set<T> anotherSet)

 

Function union(anotherSet As Set<not nullable T>) As Set<not nullable T>

Parameters:

  • anotherSet:

 

count  virtual

 

property count: not nullable Int read;

 

Int! count { get; }

 

var count: Int { get{} }

 

Int count { __get; }

 

ReadOnly Property count() As Int

first  virtual

 

property first: nullable T read;

 

T? first { get; }

 

var first: T? { get{} }

 

T first { __get; }

 

ReadOnly Property first() As T?

isEmpty  virtual

 

property isEmpty: not nullable Bool read;

 

Bool! isEmpty { get; }

 

var isEmpty: Bool { get{} }

 

Bool isEmpty { __get; }

 

ReadOnly Property isEmpty() As Bool

 

constructor

 

constructor

 

Set<T>()

 

init()

 

Set<T>()

 

Sub New()

constructor (not nullable NSMutableSet<not nullable T>) Toffee

 

init(_ theSet: NSMutableSet<not nullable T>)

Parameters:

  • theSet:

constructor (Set<T>) Cooper

 

constructor(value: Set<T>)

 

Set<T>(Set<T> value)

 

init(_ value: Set<T>)

 

Set<T>(Set<T> value)

 

Sub New(value As Set<T>)

Parameters:

  • value:

constructor withArrayLiteral(array of not nullable T)

 

constructor withArrayLiteral(params elements: array of not nullable T)

 

Set<T> withArrayLiteral(params T![] elements)

 

init(withArrayLiteral elements: T...)

 

Set<T> withArrayLiteral(T[]... elements)

 

Sub New withArrayLiteral(ParamArray elements As T())

Parameters:

  • elements:

constructor withMinimumCapacity(not nullable Int)

 

constructor withMinimumCapacity(minimumCapacity: not nullable Int)

 

Set<T> withMinimumCapacity(Int! minimumCapacity)

 

init(withMinimumCapacity minimumCapacity: Int)

 

Set<T> withMinimumCapacity(Int minimumCapacity)

 

Sub New withMinimumCapacity(minimumCapacity As Int)

Parameters:

  • minimumCapacity:

clone Cooper

 

method clone: Object

 

Object clone()

 

func clone() -> Object

 

Object clone()

 

Function clone() As Object

contains  virtual

 

method contains(member: not nullable T): not nullable Bool

 

Bool! contains(T! member)

 

func contains(_ member: T) -> Bool

 

Bool contains(T member)

 

Function contains(member As T) As Bool

Parameters:

  • member:

description  override

 

method description: not nullable String

 

String! description()

 

func description() -> String

 

String description()

 

Function description() As String

exclusiveOr  virtual

 

method exclusiveOr(anotherSet: not nullable Set<not nullable T>): not nullable Set<not nullable T>

 

Set<not nullable T>! exclusiveOr(Set<not nullable T>! anotherSet)

 

func exclusiveOr(_ anotherSet: Set<not nullable T>) -> Set<not nullable T>

 

Swift.Set<T> exclusiveOr(Swift.Set<T> anotherSet)

 

Function exclusiveOr(anotherSet As Set<not nullable T>) As Set<not nullable T>

Parameters:

  • anotherSet:

GetEnumerator  virtual Island

 

method GetEnumerator: IEnumerator<not nullable T>

 

IEnumerator<not nullable T> GetEnumerator()

 

func GetEnumerator() -> IEnumerator<not nullable T>

 

Function GetEnumerator() As IEnumerator<not nullable T>

GetEnumerator .NET, .NET Standard 2.0

 

method GetEnumerator: IEnumerator<not nullable T>

 

IEnumerator<not nullable T> GetEnumerator()

 

func GetEnumerator() -> IEnumerator<not nullable T>

 

Function GetEnumerator() As IEnumerator<not nullable T>

GetSequence  virtual

 

method GetSequence: not nullable IEnumerable<not nullable T>

 

IEnumerable<not nullable T>! GetSequence()

 

func GetSequence() -> INSFastEnumeration<not nullable T>

 

Iterable<T> GetSequence()

 

Function GetSequence() As IEnumerable<not nullable T>

insert  virtual

 

method insert(member: not nullable T)

 

void insert(T! member)

 

func insert(_ member: T)

 

void insert(T member)

 

Sub insert(member As T)

Parameters:

  • member:

intersection  virtual

 

method intersection(anotherSet: not nullable Set<not nullable T>): not nullable Set<not nullable T>

 

Set<not nullable T>! intersection(Set<not nullable T>! anotherSet)

 

func intersection(_ anotherSet: Set<not nullable T>) -> Set<not nullable T>

 

Swift.Set<T> intersection(Swift.Set<T> anotherSet)

 

Function intersection(anotherSet As Set<not nullable T>) As Set<not nullable T>

Parameters:

  • anotherSet:

iterator Cooper

 

method iterator: Iterator<not nullable T>

 

Iterator<not nullable T> iterator()

 

func iterator() -> Iterator<not nullable T>

 

Iterator<T> iterator()

 

Function iterator() As Iterator<not nullable T>

remove  virtual

 

method remove(member: not nullable T): nullable T

 

T? remove(T! member)

 

func remove(_ member: T) -> T?

 

T remove(T member)

 

Function remove(member As T) As T?

Parameters:

  • member:

removeAll  virtual

 

method removeAll keepCapacity(keepCapacity: not nullable Bool)

 

void removeAll keepCapacity(Bool! keepCapacity)

 

func removeAll(keepCapacity: Bool)

 

void removeAll keepCapacity(Bool keepCapacity)

 

Sub removeAll keepCapacity(keepCapacity As Bool)

Parameters:

  • keepCapacity:

subtracting  virtual

 

method subtracting(anotherSet: not nullable Set<not nullable T>): not nullable Set<not nullable T>

 

Set<not nullable T>! subtracting(Set<not nullable T>! anotherSet)

 

func subtracting(_ anotherSet: Set<not nullable T>) -> Set<not nullable T>

 

Swift.Set<T> subtracting(Swift.Set<T> anotherSet)

 

Function subtracting(anotherSet As Set<not nullable T>) As Set<not nullable T>

Parameters:

  • anotherSet:

toString Cooper

 

method toString: String

 

String toString()

 

func toString() -> String

 

String toString()

 

Function toString() As String

union  virtual

 

method union(anotherSet: not nullable Set<not nullable T>): not nullable Set<not nullable T>

 

Set<not nullable T>! union(Set<not nullable T>! anotherSet)

 

func union(_ anotherSet: Set<not nullable T>) -> Set<not nullable T>

 

Swift.Set<T> union(Swift.Set<T> anotherSet)

 

Function union(anotherSet As Set<not nullable T>) As Set<not nullable T>

Parameters:

  • anotherSet:

 

Implements