CollectionType<SubSequence,Index,Distance,Element>

Overview

Location

  • Reference:
    • Swift.dll  .NET, .NET Standard 2.0
    • swift.jar  Cooper
    • Swift.fx  Island
    • libSwift.fx  Toffee
  • Namespace: Swift

Implemented in

Implements

 

count

 

property count: not nullable Int read;

 

Int! count { get; }

 

var count: Int { get{} }

 

Int! count { __get; }

first

 

// .NET, .NET Standard 2.0, Island-macOS-x86_64, Island-Ubuntu, Island-Windows
property first: nullable GenericNullable<Element> read;
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-WebAssembly-wasm32
property first: nullable GenericNullable<Element> read;

 

// .NET, .NET Standard 2.0, Island-macOS-x86_64, Island-Ubuntu, Island-Windows
GenericNullable<Element>? first { get; }
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-WebAssembly-wasm32
GenericNullable<Element>? first { get; }

 

// .NET, .NET Standard 2.0, Island-macOS-x86_64, Island-Ubuntu, Island-Windows
var first: GenericNullable<Element>? { get{} }
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-WebAssembly-wasm32
var first: GenericNullable<Element>? { get{} }
// Toffee
var first: Element? { get{} }

 

Element? first { __get; }

isEmpty

 

property isEmpty: not nullable Bool read;

 

Bool! isEmpty { get; }

 

var isEmpty: Bool { get{} }

 

Bool! isEmpty { __get; }

Item

 

property Item[bounds: not nullable Range]: not nullable SubSequence read;

 

SubSequence! Item[Range! bounds] { get; }

 

subscript Item(_ bounds: Range) -> SubSequence { get{} }

 

SubSequence! Item[Range! bounds] { __get; }

prefix

 

// .NET, .NET Standard 2.0, Island-macOS-x86_64, Island-Ubuntu, Island-Windows
method prefix through(upTo: not nullable Index): not nullable SubSequence
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-WebAssembly-wasm32
method prefix through(upTo: not nullable Index): not nullable SubSequence

 

// .NET, .NET Standard 2.0, Island-macOS-x86_64, Island-Ubuntu, Island-Windows
SubSequence! prefix through(Index! upTo)
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-WebAssembly-wasm32
SubSequence! prefix through(Index! upTo)

 

func prefix(through upTo: Index) -> SubSequence

 

SubSequence! prefix through(Index! upTo)

Parameters:

  • upTo:

suffix

 

// .NET, .NET Standard 2.0, Island-macOS-x86_64, Island-Ubuntu, Island-Windows
method suffix from(from: not nullable Index): not nullable SubSequence
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-WebAssembly-wasm32
method suffix from(from: not nullable Index): not nullable SubSequence

 

// .NET, .NET Standard 2.0, Island-macOS-x86_64, Island-Ubuntu, Island-Windows
SubSequence! suffix from(Index! from)
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-WebAssembly-wasm32
SubSequence! suffix from(Index! from)

 

func suffix(from: Index) -> SubSequence

 

SubSequence! suffix from(Index! from)

Parameters:

  • from:

 

count

 

property count: not nullable Int read;

 

Int! count { get; }

 

var count: Int { get{} }

 

Int! count { __get; }

first

 

// .NET, .NET Standard 2.0, Island-macOS-x86_64, Island-Ubuntu, Island-Windows
property first: nullable GenericNullable<Element> read;
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-WebAssembly-wasm32
property first: nullable GenericNullable<Element> read;

 

// .NET, .NET Standard 2.0, Island-macOS-x86_64, Island-Ubuntu, Island-Windows
GenericNullable<Element>? first { get; }
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-WebAssembly-wasm32
GenericNullable<Element>? first { get; }

 

// .NET, .NET Standard 2.0, Island-macOS-x86_64, Island-Ubuntu, Island-Windows
var first: GenericNullable<Element>? { get{} }
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-WebAssembly-wasm32
var first: GenericNullable<Element>? { get{} }
// Toffee
var first: Element? { get{} }

 

Element? first { __get; }

isEmpty

 

property isEmpty: not nullable Bool read;

 

Bool! isEmpty { get; }

 

var isEmpty: Bool { get{} }

 

Bool! isEmpty { __get; }

Item

 

property Item[bounds: not nullable Range]: not nullable SubSequence read;

 

SubSequence! Item[Range! bounds] { get; }

 

subscript Item(_ bounds: Range) -> SubSequence { get{} }

 

SubSequence! Item[Range! bounds] { __get; }

 

prefix

 

// .NET, .NET Standard 2.0, Island-macOS-x86_64, Island-Ubuntu, Island-Windows
method prefix through(upTo: not nullable Index): not nullable SubSequence
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-WebAssembly-wasm32
method prefix through(upTo: not nullable Index): not nullable SubSequence

 

// .NET, .NET Standard 2.0, Island-macOS-x86_64, Island-Ubuntu, Island-Windows
SubSequence! prefix through(Index! upTo)
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-WebAssembly-wasm32
SubSequence! prefix through(Index! upTo)

 

func prefix(through upTo: Index) -> SubSequence

 

SubSequence! prefix through(Index! upTo)

Parameters:

  • upTo:

suffix

 

// .NET, .NET Standard 2.0, Island-macOS-x86_64, Island-Ubuntu, Island-Windows
method suffix from(from: not nullable Index): not nullable SubSequence
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-WebAssembly-wasm32
method suffix from(from: not nullable Index): not nullable SubSequence

 

// .NET, .NET Standard 2.0, Island-macOS-x86_64, Island-Ubuntu, Island-Windows
SubSequence! suffix from(Index! from)
// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-WebAssembly-wasm32
SubSequence! suffix from(Index! from)

 

func suffix(from: Index) -> SubSequence

 

SubSequence! suffix from(Index! from)

Parameters:

  • from: