ISequence<T> Extension

Location

  • Reference:
    • Swift.dll  .NET, .NET Standard 2.0
    • swift.jar  Cooper
    • Swift.fx  Island
    • libSwift.fx  Toffee
  • Namespace: Swift
  • Extends: ISequence<T>

 

contains

 

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

 

Bool! contains(T! item)

 

func contains(_ item: T) -> Bool

 

Bool! contains(T! item)

Parameters:

  • item:

count

 

property count: not nullable Int read;

 

Int! count { get; }

 

var count: Int { get{} }

 

Int! count { __get; }

debugDescription .NET, .NET Standard 2.0, Cooper, Island

 

property debugDescription: not nullable String read;

 

String! debugDescription { get; }

 

var debugDescription: String { get{} }

 

String! debugDescription { __get; }

dropFirst (not nullable Int): not nullable IEnumerable<not nullable T>

 

method dropFirst(n: not nullable Int): not nullable IEnumerable<not nullable T>

 

IEnumerable<not nullable T>! dropFirst(Int! n)

 

func dropFirst(_ n: Int) -> INSFastEnumeration<not nullable T>

 

Iterable<not nullable T>! dropFirst(Int! n)

Parameters:

  • n:

dropFirst

 

method dropFirst: not nullable IEnumerable<not nullable T>

 

IEnumerable<not nullable T>! dropFirst()

 

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

 

Iterable<not nullable T>! dropFirst()

dropLast (not nullable Int): not nullable IEnumerable<not nullable T>

 

method dropLast(n: not nullable Int): not nullable IEnumerable<not nullable T>

 

IEnumerable<not nullable T>! dropLast(Int! n)

 

func dropLast(_ n: Int) -> INSFastEnumeration<not nullable T>

 

Iterable<not nullable T>! dropLast(Int! n)

Parameters:

  • n:

dropLast

 

method dropLast: not nullable IEnumerable<not nullable T>

 

IEnumerable<not nullable T>! dropLast()

 

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

 

Iterable<not nullable T>! dropLast()

enumerated

 

// .NET, Island
method enumerated: not nullable IEnumerable<not nullable tuple of (not nullable Int, not nullable T)>
// .NET Standard 2.0
method enumerated: not nullable IEnumerable<not nullable ValueTuple<not nullable Int, not nullable T>>

 

// .NET, Island
IEnumerable<not nullable (not nullable Int, not nullable T)>! enumerated()
// .NET Standard 2.0
IEnumerable<not nullable ValueTuple<not nullable Int, not nullable T>>! enumerated()

 

// Toffee-iOS, Toffee-iOS Simulator, Toffee-macOS, Toffee-tvOS, Toffee-tvOS Simulator, Toffee-UIKit for Mac
func enumerated() -> INSFastEnumeration<not nullable Tuple2<not nullable nullable Int64, not nullable T>>
// Toffee-watchOS, Toffee-watchOS Simulator
func enumerated() -> INSFastEnumeration<not nullable Tuple2<not nullable nullable Int32, not nullable T>>

 

Iterable<not nullable Tuple2<not nullable Long, not nullable T>>! enumerated()

filter (not nullable Func<not nullable T, not nullable Bool>): not nullable IEnumerable<not nullable T> .NET, .NET Standard 2.0, Island

 

method filter(includeElement: not nullable Func<not nullable T, not nullable Bool>): not nullable IEnumerable<not nullable T>

 

IEnumerable<not nullable T>! filter(Func<T!, Bool!>! includeElement)

 

func filter(_ includeElement: Func<T, Bool>) -> IEnumerable<not nullable T>

Parameters:

  • includeElement:

filter (not nullable Func2<not nullable T, not nullable Boolean>): not nullable Iterable<not nullable T> Cooper

 

method filter(includeElement: not nullable Func2<not nullable T, not nullable Boolean>): not nullable Iterable<not nullable T>

 

Iterable<not nullable T>! filter(Func2<not nullable T, not nullable Boolean>! includeElement)

 

func filter(_ includeElement: Func2<not nullable T, not nullable Boolean>) -> Iterable<not nullable T>

 

Iterable<not nullable T>! filter(Func2<not nullable T, not nullable Boolean>! includeElement)

Parameters:

  • includeElement:

filter (not nullable Func<not nullable T, NSError, nullable Bool>) error(NSError): not nullable INSFastEnumeration<not nullable T> Toffee

 

func filter(_ includeElement: (T,NSError) -> Bool!, error $error: NSError) -> INSFastEnumeration<not nullable T>

Parameters:

  • includeElement:
  • $error:

first

 

property first: nullable GenericNullable<T> read;

 

GenericNullable<T>? first { get; }

 

// .NET, .NET Standard 2.0, Island
var first: GenericNullable<T>? { get{} }
// Toffee
var first: T? { get{} }

 

T? first { __get; }

flatten

 

method flatten: not nullable IEnumerable<not nullable T>

 

IEnumerable<not nullable T>! flatten()

 

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

 

Iterable<not nullable T>! flatten()

forEach body(not nullable Action<not nullable T>) .NET, .NET Standard 2.0, Cooper, Island

 

method forEach body(body: not nullable Action<not nullable T>)

 

void forEach body(Action<T!>! body)

 

func forEach(body: Action<T>)

 

void forEach body(Action1<not nullable T>! body)

Parameters:

  • body:

forEach body(not nullable Func<not nullable T, NSError, Boolean>) error(NSError): Boolean Toffee

 

func forEach(body: (T,NSError) -> Boolean, error $error: NSError) -> Boolean

Parameters:

  • body:
  • $error:

generate

 

method generate: not nullable IEnumerable<not nullable T>

 

IEnumerable<not nullable T>! generate()

 

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

 

Iterable<not nullable T>! generate()

indexOf (not nullable Func<not nullable T, not nullable Bool>): nullable Int .NET, .NET Standard 2.0, Island, Toffee

 

method indexOf(predicate: not nullable Func<not nullable T, not nullable Bool>): nullable Int

 

Int? indexOf(Func<T!, Bool!>! predicate)

 

func indexOf(_ predicate: (T) -> Bool) -> Int?

Parameters:

  • predicate:

indexOf (not nullable Func2<not nullable T, not nullable Boolean>): nullable Long Cooper

 

method indexOf(predicate: not nullable Func2<not nullable T, not nullable Boolean>): nullable Long

 

Long? indexOf(Func2<not nullable T, not nullable Boolean>! predicate)

 

func indexOf(_ predicate: Func2<not nullable T, not nullable Boolean>) -> Long?

 

Long? indexOf(Func2<not nullable T, not nullable Boolean>! predicate)

Parameters:

  • predicate:

isEmpty

 

property isEmpty: not nullable Bool read;

 

Bool! isEmpty { get; }

 

var isEmpty: Bool { get{} }

 

Bool! isEmpty { __get; }

joined separator(not nullable array of not nullable T): not nullable IEnumerable<not nullable T>

 

method joined separator(separator: not nullable array of not nullable T): not nullable IEnumerable<not nullable T>

 

IEnumerable<not nullable T>! joined separator(T![]! separator)

 

func joined(separator: T...) -> INSFastEnumeration<not nullable T>

 

Iterable<not nullable T>! joined separator(T![]! separator)

Parameters:

  • separator:

joined separator(not nullable IEnumerable<not nullable T>): not nullable IEnumerable<not nullable T>

 

method joined separator(separator: not nullable IEnumerable<not nullable T>): not nullable IEnumerable<not nullable T>

 

IEnumerable<not nullable T>! joined separator(IEnumerable<not nullable T>! separator)

 

func joined(separator: INSFastEnumeration<not nullable T>) -> INSFastEnumeration<not nullable T>

 

Iterable<not nullable T>! joined separator(Iterable<not nullable T>! separator)

Parameters:

  • separator:

joined separator(not nullable String): not nullable String .NET, .NET Standard 2.0, Cooper, Toffee

 

method joined separator(separator: not nullable String): not nullable String

 

String! joined separator(String! separator)

 

func joined(separator: String) -> String

 

String! joined separator(String! separator)

Parameters:

  • separator:

joined separator(not nullable String): not nullable String Island

 

method joined separator(separator: not nullable String): not nullable String

 

String! joined separator(String! separator)

 

func joined(separator: String) -> String

Parameters:

  • separator:

lazy

 

property lazy: not nullable IEnumerable<not nullable T> read;

 

IEnumerable<not nullable T>! lazy { get; }

 

// .NET, .NET Standard 2.0, Island
var lazy: IEnumerable<not nullable T> { get{} }
// Toffee
var lazy: INSFastEnumeration<not nullable T> { get{} }

 

Iterable<not nullable T>! lazy { __get; }

map<U>

 

method map<U>(transform: not nullable Func<not nullable T, not nullable U>): not nullable IEnumerable<not nullable U>

 

IEnumerable<not nullable U>! map<U>(Func<T!, U!>! transform)

 

func map<U>(_ transform: (T) -> U) -> INSFastEnumeration<not nullable U>

 

Iterable<not nullable U>! map<U>(Func2<not nullable T, not nullable U>! transform)

Parameters:

  • transform:

maxElement (not nullable Func<not nullable T, not nullable T, not nullable Bool>): nullable GenericNullable<T> .NET, .NET Standard 2.0, Island, Toffee

 

method maxElement(isOrderedBefore: not nullable Func<not nullable T, not nullable T, not nullable Bool>): nullable GenericNullable<T>

 

GenericNullable<T>? maxElement(Func<T!, T!, Bool!>! isOrderedBefore)

 

func maxElement(_ isOrderedBefore: (T,T) -> Bool) -> T?

Parameters:

  • isOrderedBefore:

maxElement (not nullable Func3<not nullable T, not nullable T, not nullable Boolean>): nullable T Cooper

 

method maxElement(isOrderedBefore: not nullable Func3<not nullable T, not nullable T, not nullable Boolean>): nullable T

 

T? maxElement(Func3<not nullable T, not nullable T, not nullable Boolean>! isOrderedBefore)

 

func maxElement(_ isOrderedBefore: Func3<not nullable T, not nullable T, not nullable Boolean>) -> T?

 

T? maxElement(Func3<not nullable T, not nullable T, not nullable Boolean>! isOrderedBefore)

Parameters:

  • isOrderedBefore:

minElement (not nullable Func<not nullable T, not nullable T, not nullable Bool>): nullable GenericNullable<T> .NET, .NET Standard 2.0, Island, Toffee

 

method minElement(isOrderedBefore: not nullable Func<not nullable T, not nullable T, not nullable Bool>): nullable GenericNullable<T>

 

GenericNullable<T>? minElement(Func<T!, T!, Bool!>! isOrderedBefore)

 

func minElement(_ isOrderedBefore: (T,T) -> Bool) -> T?

Parameters:

  • isOrderedBefore:

minElement (not nullable Func3<not nullable T, not nullable T, not nullable Boolean>): nullable T Cooper

 

method minElement(isOrderedBefore: not nullable Func3<not nullable T, not nullable T, not nullable Boolean>): nullable T

 

T? minElement(Func3<not nullable T, not nullable T, not nullable Boolean>! isOrderedBefore)

 

func minElement(_ isOrderedBefore: Func3<not nullable T, not nullable T, not nullable Boolean>) -> T?

 

T? minElement(Func3<not nullable T, not nullable T, not nullable Boolean>! isOrderedBefore)

Parameters:

  • isOrderedBefore:

prefix

 

method prefix(maxLength: not nullable Int): not nullable IEnumerable<not nullable T>

 

IEnumerable<not nullable T>! prefix(Int! maxLength)

 

func prefix(_ maxLength: Int) -> INSFastEnumeration<not nullable T>

 

Iterable<not nullable T>! prefix(Int! maxLength)

Parameters:

  • maxLength:

reduce<U>

 

method reduce<U>(initial: not nullable U; combine: not nullable Func<not nullable U, not nullable T, not nullable U>): not nullable U

 

U! reduce<U>(U! initial, Func<U!, T!, U!>! combine)

 

func reduce<U>(_ initial: U, _ combine: (U,T) -> U) -> U

 

U! reduce<U>(U! initial, Func3<not nullable U, not nullable T, not nullable U>! combine)

Parameters:

  • initial:
  • combine:

reverse

 

method reverse: not nullable IEnumerable<not nullable T>

 

IEnumerable<not nullable T>! reverse()

 

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

 

Iterable<not nullable T>! reverse()

sorted

 

method sorted by(isOrderedBefore: not nullable Func<not nullable T, not nullable T, not nullable Bool>): not nullable IEnumerable<not nullable T>

 

IEnumerable<not nullable T>! sorted by(Func<T!, T!, Bool!>! isOrderedBefore)

 

func sorted(by isOrderedBefore: (T,T) -> Bool) -> INSFastEnumeration<not nullable T>

 

Iterable<not nullable T>! sorted by(Func3<not nullable T, not nullable T, not nullable Boolean>! isOrderedBefore)

Parameters:

  • isOrderedBefore:

startsWith

 

method startsWith prefix(p: not nullable IEnumerable<not nullable T>): not nullable Bool

 

Bool! startsWith prefix(IEnumerable<not nullable T>! p)

 

func startsWith(prefix p: INSFastEnumeration<not nullable T>) -> Bool

 

Bool! startsWith prefix(Iterable<not nullable T>! p)

Parameters:

  • p:

suffix

 

method suffix(maxLength: not nullable Int): not nullable IEnumerable<not nullable T>

 

IEnumerable<not nullable T>! suffix(Int! maxLength)

 

func suffix(_ maxLength: Int) -> INSFastEnumeration<not nullable T>

 

Iterable<not nullable T>! suffix(Int! maxLength)

Parameters:

  • maxLength:

toSwiftArray

 

method toSwiftArray: not nullable Array<not nullable T>

 

Array<not nullable T>! toSwiftArray()

 

func toSwiftArray() -> Array<not nullable T>

 

Array<not nullable T>! toSwiftArray()

ToSwiftArray<U> .NET, .NET Standard 2.0, Island, Toffee

 

method ToSwiftArray<U>: not nullable Array<not nullable U>

 

Array<not nullable U>! ToSwiftArray<U>()

 

func ToSwiftArray<U>() -> Array<not nullable U>

underestimateCount

 

method underestimateCount: not nullable Int

 

Int! underestimateCount()

 

func underestimateCount() -> Int

 

Int! underestimateCount()

 

count

 

property count: not nullable Int read;

 

Int! count { get; }

 

var count: Int { get{} }

 

Int! count { __get; }

debugDescription .NET, .NET Standard 2.0, Cooper, Island

 

property debugDescription: not nullable String read;

 

String! debugDescription { get; }

 

var debugDescription: String { get{} }

 

String! debugDescription { __get; }

first

 

property first: nullable GenericNullable<T> read;

 

GenericNullable<T>? first { get; }

 

// .NET, .NET Standard 2.0, Island
var first: GenericNullable<T>? { get{} }
// Toffee
var first: T? { get{} }

 

T? first { __get; }

isEmpty

 

property isEmpty: not nullable Bool read;

 

Bool! isEmpty { get; }

 

var isEmpty: Bool { get{} }

 

Bool! isEmpty { __get; }

lazy

 

property lazy: not nullable IEnumerable<not nullable T> read;

 

IEnumerable<not nullable T>! lazy { get; }

 

// .NET, .NET Standard 2.0, Island
var lazy: IEnumerable<not nullable T> { get{} }
// Toffee
var lazy: INSFastEnumeration<not nullable T> { get{} }

 

Iterable<not nullable T>! lazy { __get; }

 

contains

 

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

 

Bool! contains(T! item)

 

func contains(_ item: T) -> Bool

 

Bool! contains(T! item)

Parameters:

  • item:

dropFirst (not nullable Int): not nullable IEnumerable<not nullable T>

 

method dropFirst(n: not nullable Int): not nullable IEnumerable<not nullable T>

 

IEnumerable<not nullable T>! dropFirst(Int! n)

 

func dropFirst(_ n: Int) -> INSFastEnumeration<not nullable T>

 

Iterable<not nullable T>! dropFirst(Int! n)

Parameters:

  • n:

dropFirst

 

method dropFirst: not nullable IEnumerable<not nullable T>

 

IEnumerable<not nullable T>! dropFirst()

 

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

 

Iterable<not nullable T>! dropFirst()

dropLast (not nullable Int): not nullable IEnumerable<not nullable T>

 

method dropLast(n: not nullable Int): not nullable IEnumerable<not nullable T>

 

IEnumerable<not nullable T>! dropLast(Int! n)

 

func dropLast(_ n: Int) -> INSFastEnumeration<not nullable T>

 

Iterable<not nullable T>! dropLast(Int! n)

Parameters:

  • n:

dropLast

 

method dropLast: not nullable IEnumerable<not nullable T>

 

IEnumerable<not nullable T>! dropLast()

 

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

 

Iterable<not nullable T>! dropLast()

enumerated

 

// .NET, Island
method enumerated: not nullable IEnumerable<not nullable tuple of (not nullable Int, not nullable T)>
// .NET Standard 2.0
method enumerated: not nullable IEnumerable<not nullable ValueTuple<not nullable Int, not nullable T>>

 

// .NET, Island
IEnumerable<not nullable (not nullable Int, not nullable T)>! enumerated()
// .NET Standard 2.0
IEnumerable<not nullable ValueTuple<not nullable Int, not nullable T>>! enumerated()

 

// Toffee-iOS, Toffee-iOS Simulator, Toffee-macOS, Toffee-tvOS, Toffee-tvOS Simulator, Toffee-UIKit for Mac
func enumerated() -> INSFastEnumeration<not nullable Tuple2<not nullable nullable Int64, not nullable T>>
// Toffee-watchOS, Toffee-watchOS Simulator
func enumerated() -> INSFastEnumeration<not nullable Tuple2<not nullable nullable Int32, not nullable T>>

 

Iterable<not nullable Tuple2<not nullable Long, not nullable T>>! enumerated()

filter (not nullable Func<not nullable T, not nullable Bool>): not nullable IEnumerable<not nullable T> .NET, .NET Standard 2.0, Island

 

method filter(includeElement: not nullable Func<not nullable T, not nullable Bool>): not nullable IEnumerable<not nullable T>

 

IEnumerable<not nullable T>! filter(Func<T!, Bool!>! includeElement)

 

func filter(_ includeElement: Func<T, Bool>) -> IEnumerable<not nullable T>

Parameters:

  • includeElement:

filter (not nullable Func2<not nullable T, not nullable Boolean>): not nullable Iterable<not nullable T> Cooper

 

method filter(includeElement: not nullable Func2<not nullable T, not nullable Boolean>): not nullable Iterable<not nullable T>

 

Iterable<not nullable T>! filter(Func2<not nullable T, not nullable Boolean>! includeElement)

 

func filter(_ includeElement: Func2<not nullable T, not nullable Boolean>) -> Iterable<not nullable T>

 

Iterable<not nullable T>! filter(Func2<not nullable T, not nullable Boolean>! includeElement)

Parameters:

  • includeElement:

filter (not nullable Func<not nullable T, NSError, nullable Bool>) error(NSError): not nullable INSFastEnumeration<not nullable T> Toffee

 

func filter(_ includeElement: (T,NSError) -> Bool!, error $error: NSError) -> INSFastEnumeration<not nullable T>

Parameters:

  • includeElement:
  • $error:

flatten

 

method flatten: not nullable IEnumerable<not nullable T>

 

IEnumerable<not nullable T>! flatten()

 

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

 

Iterable<not nullable T>! flatten()

forEach body(not nullable Action<not nullable T>) .NET, .NET Standard 2.0, Cooper, Island

 

method forEach body(body: not nullable Action<not nullable T>)

 

void forEach body(Action<T!>! body)

 

func forEach(body: Action<T>)

 

void forEach body(Action1<not nullable T>! body)

Parameters:

  • body:

forEach body(not nullable Func<not nullable T, NSError, Boolean>) error(NSError): Boolean Toffee

 

func forEach(body: (T,NSError) -> Boolean, error $error: NSError) -> Boolean

Parameters:

  • body:
  • $error:

generate

 

method generate: not nullable IEnumerable<not nullable T>

 

IEnumerable<not nullable T>! generate()

 

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

 

Iterable<not nullable T>! generate()

indexOf (not nullable Func<not nullable T, not nullable Bool>): nullable Int .NET, .NET Standard 2.0, Island, Toffee

 

method indexOf(predicate: not nullable Func<not nullable T, not nullable Bool>): nullable Int

 

Int? indexOf(Func<T!, Bool!>! predicate)

 

func indexOf(_ predicate: (T) -> Bool) -> Int?

Parameters:

  • predicate:

indexOf (not nullable Func2<not nullable T, not nullable Boolean>): nullable Long Cooper

 

method indexOf(predicate: not nullable Func2<not nullable T, not nullable Boolean>): nullable Long

 

Long? indexOf(Func2<not nullable T, not nullable Boolean>! predicate)

 

func indexOf(_ predicate: Func2<not nullable T, not nullable Boolean>) -> Long?

 

Long? indexOf(Func2<not nullable T, not nullable Boolean>! predicate)

Parameters:

  • predicate:

joined separator(not nullable array of not nullable T): not nullable IEnumerable<not nullable T>

 

method joined separator(separator: not nullable array of not nullable T): not nullable IEnumerable<not nullable T>

 

IEnumerable<not nullable T>! joined separator(T![]! separator)

 

func joined(separator: T...) -> INSFastEnumeration<not nullable T>

 

Iterable<not nullable T>! joined separator(T![]! separator)

Parameters:

  • separator:

joined separator(not nullable IEnumerable<not nullable T>): not nullable IEnumerable<not nullable T>

 

method joined separator(separator: not nullable IEnumerable<not nullable T>): not nullable IEnumerable<not nullable T>

 

IEnumerable<not nullable T>! joined separator(IEnumerable<not nullable T>! separator)

 

func joined(separator: INSFastEnumeration<not nullable T>) -> INSFastEnumeration<not nullable T>

 

Iterable<not nullable T>! joined separator(Iterable<not nullable T>! separator)

Parameters:

  • separator:

joined separator(not nullable String): not nullable String .NET, .NET Standard 2.0, Cooper, Toffee

 

method joined separator(separator: not nullable String): not nullable String

 

String! joined separator(String! separator)

 

func joined(separator: String) -> String

 

String! joined separator(String! separator)

Parameters:

  • separator:

joined separator(not nullable String): not nullable String Island

 

method joined separator(separator: not nullable String): not nullable String

 

String! joined separator(String! separator)

 

func joined(separator: String) -> String

Parameters:

  • separator:

map<U>

 

method map<U>(transform: not nullable Func<not nullable T, not nullable U>): not nullable IEnumerable<not nullable U>

 

IEnumerable<not nullable U>! map<U>(Func<T!, U!>! transform)

 

func map<U>(_ transform: (T) -> U) -> INSFastEnumeration<not nullable U>

 

Iterable<not nullable U>! map<U>(Func2<not nullable T, not nullable U>! transform)

Parameters:

  • transform:

maxElement (not nullable Func<not nullable T, not nullable T, not nullable Bool>): nullable GenericNullable<T> .NET, .NET Standard 2.0, Island, Toffee

 

method maxElement(isOrderedBefore: not nullable Func<not nullable T, not nullable T, not nullable Bool>): nullable GenericNullable<T>

 

GenericNullable<T>? maxElement(Func<T!, T!, Bool!>! isOrderedBefore)

 

func maxElement(_ isOrderedBefore: (T,T) -> Bool) -> T?

Parameters:

  • isOrderedBefore:

maxElement (not nullable Func3<not nullable T, not nullable T, not nullable Boolean>): nullable T Cooper

 

method maxElement(isOrderedBefore: not nullable Func3<not nullable T, not nullable T, not nullable Boolean>): nullable T

 

T? maxElement(Func3<not nullable T, not nullable T, not nullable Boolean>! isOrderedBefore)

 

func maxElement(_ isOrderedBefore: Func3<not nullable T, not nullable T, not nullable Boolean>) -> T?

 

T? maxElement(Func3<not nullable T, not nullable T, not nullable Boolean>! isOrderedBefore)

Parameters:

  • isOrderedBefore:

minElement (not nullable Func<not nullable T, not nullable T, not nullable Bool>): nullable GenericNullable<T> .NET, .NET Standard 2.0, Island, Toffee

 

method minElement(isOrderedBefore: not nullable Func<not nullable T, not nullable T, not nullable Bool>): nullable GenericNullable<T>

 

GenericNullable<T>? minElement(Func<T!, T!, Bool!>! isOrderedBefore)

 

func minElement(_ isOrderedBefore: (T,T) -> Bool) -> T?

Parameters:

  • isOrderedBefore:

minElement (not nullable Func3<not nullable T, not nullable T, not nullable Boolean>): nullable T Cooper

 

method minElement(isOrderedBefore: not nullable Func3<not nullable T, not nullable T, not nullable Boolean>): nullable T

 

T? minElement(Func3<not nullable T, not nullable T, not nullable Boolean>! isOrderedBefore)

 

func minElement(_ isOrderedBefore: Func3<not nullable T, not nullable T, not nullable Boolean>) -> T?

 

T? minElement(Func3<not nullable T, not nullable T, not nullable Boolean>! isOrderedBefore)

Parameters:

  • isOrderedBefore:

prefix

 

method prefix(maxLength: not nullable Int): not nullable IEnumerable<not nullable T>

 

IEnumerable<not nullable T>! prefix(Int! maxLength)

 

func prefix(_ maxLength: Int) -> INSFastEnumeration<not nullable T>

 

Iterable<not nullable T>! prefix(Int! maxLength)

Parameters:

  • maxLength:

reduce<U>

 

method reduce<U>(initial: not nullable U; combine: not nullable Func<not nullable U, not nullable T, not nullable U>): not nullable U

 

U! reduce<U>(U! initial, Func<U!, T!, U!>! combine)

 

func reduce<U>(_ initial: U, _ combine: (U,T) -> U) -> U

 

U! reduce<U>(U! initial, Func3<not nullable U, not nullable T, not nullable U>! combine)

Parameters:

  • initial:
  • combine:

reverse

 

method reverse: not nullable IEnumerable<not nullable T>

 

IEnumerable<not nullable T>! reverse()

 

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

 

Iterable<not nullable T>! reverse()

sorted

 

method sorted by(isOrderedBefore: not nullable Func<not nullable T, not nullable T, not nullable Bool>): not nullable IEnumerable<not nullable T>

 

IEnumerable<not nullable T>! sorted by(Func<T!, T!, Bool!>! isOrderedBefore)

 

func sorted(by isOrderedBefore: (T,T) -> Bool) -> INSFastEnumeration<not nullable T>

 

Iterable<not nullable T>! sorted by(Func3<not nullable T, not nullable T, not nullable Boolean>! isOrderedBefore)

Parameters:

  • isOrderedBefore:

startsWith

 

method startsWith prefix(p: not nullable IEnumerable<not nullable T>): not nullable Bool

 

Bool! startsWith prefix(IEnumerable<not nullable T>! p)

 

func startsWith(prefix p: INSFastEnumeration<not nullable T>) -> Bool

 

Bool! startsWith prefix(Iterable<not nullable T>! p)

Parameters:

  • p:

suffix

 

method suffix(maxLength: not nullable Int): not nullable IEnumerable<not nullable T>

 

IEnumerable<not nullable T>! suffix(Int! maxLength)

 

func suffix(_ maxLength: Int) -> INSFastEnumeration<not nullable T>

 

Iterable<not nullable T>! suffix(Int! maxLength)

Parameters:

  • maxLength:

toSwiftArray

 

method toSwiftArray: not nullable Array<not nullable T>

 

Array<not nullable T>! toSwiftArray()

 

func toSwiftArray() -> Array<not nullable T>

 

Array<not nullable T>! toSwiftArray()

ToSwiftArray<U> .NET, .NET Standard 2.0, Island, Toffee

 

method ToSwiftArray<U>: not nullable Array<not nullable U>

 

Array<not nullable U>! ToSwiftArray<U>()

 

func ToSwiftArray<U>() -> Array<not nullable U>

underestimateCount

 

method underestimateCount: not nullable Int

 

Int! underestimateCount()

 

func underestimateCount() -> Int

 

Int! underestimateCount()