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 .NET, .NET Standard 2.0, Cooper, Island
constructor
Set<T>()
init()
Set<T>()
Sub New()
constructor .() Toffee
init(. )
Parameters:
- :
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 virtual .NET, .NET Standard 2.0, Cooper, Island
method description: not nullable NativeString
NativeString! description()
func description() -> NativeString
NativeString description()
Function description() As NativeString
description description(): NativeString override Toffee
func description(description ) -> NativeString
Parameters:
- :
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 .NET, .NET Standard 2.0, Island
// .NET, .NET Standard 2.0
method GetEnumerator: IEnumerator<not nullable T>
// Island
method GetEnumerator: IEnumerator<not nullable T>
// .NET, .NET Standard 2.0
IEnumerator<not nullable T> GetEnumerator()
// Island
IEnumerator<not nullable T> GetEnumerator()
// .NET, .NET Standard 2.0
func GetEnumerator() -> IEnumerator<not nullable T>
// Island
func GetEnumerator() -> IEnumerator<not nullable T>
// .NET, .NET Standard 2.0
Function GetEnumerator() As IEnumerator<not nullable T>
// Island
Function GetEnumerator() As IEnumerator<not nullable T>
GetSequence virtual .NET, .NET Standard 2.0, Cooper, Island
method GetSequence: not nullable IEnumerable<not nullable T>
IEnumerable<not nullable T>! GetSequence()
func GetSequence() -> IEnumerable<not nullable T>
Iterable<T> GetSequence()
Function GetSequence() As IEnumerable<not nullable T>
GetSequence GetSequence(): not nullable INSFastEnumeration<not nullable T> virtual Toffee
func GetSequence(GetSequence ) -> INSFastEnumeration<not nullable T>
Parameters:
- :
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 .NET, .NET Standard 2.0, Cooper, Island
constructor
Set<T>()
init()
Set<T>()
Sub New()
constructor .() Toffee
init(. )
Parameters:
- :
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 virtual .NET, .NET Standard 2.0, Cooper, Island
method description: not nullable NativeString
NativeString! description()
func description() -> NativeString
NativeString description()
Function description() As NativeString
description description(): NativeString override Toffee
func description(description ) -> NativeString
Parameters:
- :
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 .NET, .NET Standard 2.0, Island
// .NET, .NET Standard 2.0
method GetEnumerator: IEnumerator<not nullable T>
// Island
method GetEnumerator: IEnumerator<not nullable T>
// .NET, .NET Standard 2.0
IEnumerator<not nullable T> GetEnumerator()
// Island
IEnumerator<not nullable T> GetEnumerator()
// .NET, .NET Standard 2.0
func GetEnumerator() -> IEnumerator<not nullable T>
// Island
func GetEnumerator() -> IEnumerator<not nullable T>
// .NET, .NET Standard 2.0
Function GetEnumerator() As IEnumerator<not nullable T>
// Island
Function GetEnumerator() As IEnumerator<not nullable T>
GetSequence virtual .NET, .NET Standard 2.0, Cooper, Island
method GetSequence: not nullable IEnumerable<not nullable T>
IEnumerable<not nullable T>! GetSequence()
func GetSequence() -> IEnumerable<not nullable T>
Iterable<T> GetSequence()
Function GetSequence() As IEnumerable<not nullable T>
GetSequence GetSequence(): not nullable INSFastEnumeration<not nullable T> virtual Toffee
func GetSequence(GetSequence ) -> INSFastEnumeration<not nullable T>
Parameters:
- :
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: