CollectionOfOne<Element>

Overview

Location

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

Implements

 

constructor Cooper

 

constructor

 

CollectionOfOne<Element>()

 

init()

 

CollectionOfOne<Element>()

 

Sub New()

constructor (not nullable Element)

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows
constructor(element: not nullable Element)
// .NET, .NET Standard 2.0
constructor(element: not nullable Element)
// Island-WebAssembly-wasm32
constructor(element: not nullable Element)

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows
CollectionOfOne<Element>(Element! element)
// .NET, .NET Standard 2.0
CollectionOfOne<Element>(Element! element)
// Island-WebAssembly-wasm32
CollectionOfOne<Element>(Element! element)

 

init(_ element: Element)

 

CollectionOfOne<Element>(Element element)

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows
Sub New(element As Element)
// .NET, .NET Standard 2.0
Sub New(element As Element)
// Island-WebAssembly-wasm32
Sub New(element As Element)

Parameters:

  • element:

constructor (CollectionOfOne<Element>) Cooper

 

constructor(value: CollectionOfOne<Element>)

 

CollectionOfOne<Element>(CollectionOfOne<Element> value)

 

init(_ value: CollectionOfOne<Element>)

 

CollectionOfOne<Element>(CollectionOfOne<Element> value)

 

Sub New(value As CollectionOfOne<Element>)

Parameters:

  • value:

clone Cooper

 

method clone: Object

 

Object clone()

 

func clone() -> Object

 

Object clone()

 

Function clone() As Object

count  virtual

 

// Island-UIKit for Mac-x86_64
property count: not nullable Int read;
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-WebAssembly-wasm32, Island-Windows
property count: not nullable Int read;

 

// Island-UIKit for Mac-x86_64
Int! count { get; }
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-WebAssembly-wasm32, Island-Windows
Int! count { get; }

 

// Island-UIKit for Mac-x86_64, Toffee-UIKit for Mac
var count: Int { get{} }
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-WebAssembly-wasm32, Island-Windows, Toffee-iOS, Toffee-iOS Simulator, Toffee-Mac Catalyst, Toffee-macOS, Toffee-tvOS, Toffee-tvOS Simulator, Toffee-watchOS, Toffee-watchOS Simulator
var count: Int { get{} }

 

Int count { __get; }

 

// Island-UIKit for Mac-x86_64
ReadOnly Property count() As Int
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-WebAssembly-wasm32, Island-Windows
ReadOnly Property count() As Int

endIndex  virtual

 

property endIndex: not nullable Bit read;

 

Bit! endIndex { get; }

 

var endIndex: Bit { get{} }

 

Bit endIndex { __get; }

 

ReadOnly Property endIndex() As Bit

GetEnumerator  virtual Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-WebAssembly-wasm32, Island-Windows

 

method GetEnumerator: IEnumerator<not nullable Element>

 

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

 

Function GetEnumerator() As IEnumerator<not nullable Element>

GetEnumerator .NET, .NET Standard 2.0, Island-UIKit for Mac-x86_64

 

// Island-UIKit for Mac-x86_64
method GetEnumerator: IEnumerator<not nullable Element>
// .NET, .NET Standard 2.0
method GetEnumerator: IEnumerator<not nullable Element>

 

// Island-UIKit for Mac-x86_64
IEnumerator<not nullable Element> GetEnumerator()
// .NET, .NET Standard 2.0
IEnumerator<Element!> GetEnumerator()

 

// Island-UIKit for Mac-x86_64
func GetEnumerator() -> IEnumerator<not nullable Element>
// .NET, .NET Standard 2.0
func GetEnumerator() -> IEnumerator<Element>

 

// Island-UIKit for Mac-x86_64
Function GetEnumerator() As IEnumerator<not nullable Element>
// .NET, .NET Standard 2.0
Function GetEnumerator() As IEnumerator<Element>

GetSequence  virtual

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows
method GetSequence: not nullable IEnumerable<not nullable Element>
// .NET, .NET Standard 2.0
method GetSequence: not nullable IEnumerable<not nullable Element>
// Island-WebAssembly-wasm32
method GetSequence: not nullable IEnumerable<not nullable Element>

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows
IEnumerable<Element!>! GetSequence()
// .NET, .NET Standard 2.0
IEnumerable<Element!>! GetSequence()
// Island-WebAssembly-wasm32
IEnumerable<Element!>! GetSequence()

 

func GetSequence() -> INSFastEnumeration<Element>

 

Iterable<Element> GetSequence()

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows
Function GetSequence() As IEnumerable<Element>
// .NET, .NET Standard 2.0
Function GetSequence() As IEnumerable<Element>
// Island-WebAssembly-wasm32
Function GetSequence() As IEnumerable<Element>

Item  virtual

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows
property Item[position: not nullable Bit]: not nullable Element read;
// .NET, .NET Standard 2.0
property Item[position: not nullable Bit]: not nullable Element read;
// Island-WebAssembly-wasm32
property Item[position: not nullable Bit]: not nullable Element read;

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows
Element! Item[Bit! position] { get; }
// .NET, .NET Standard 2.0
Element! Item[Bit! position] { get; }
// Island-WebAssembly-wasm32
Element! Item[Bit! position] { get; }

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows
subscript Item(_ position: Bit) -> Element { get{} }
// .NET, .NET Standard 2.0, Toffee
subscript Item(_ position: Bit) -> Element { get{} }
// Island-WebAssembly-wasm32
subscript Item(_ position: Bit) -> Element { get{} }

 

Element Item[Bit position] { __get; }

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows
ReadOnly Property Item(position As Bit) As Element
// .NET, .NET Standard 2.0
ReadOnly Property Item(position As Bit) As Element
// Island-WebAssembly-wasm32
ReadOnly Property Item(position As Bit) As Element

iterator Cooper

 

method iterator: Iterator<not nullable Element>

 

Iterator<Element!> iterator()

 

func iterator() -> Iterator<Element>

 

Iterator<Element> iterator()

 

Function iterator() As Iterator<Element>

startIndex  virtual

 

property startIndex: not nullable Bit read;

 

Bit! startIndex { get; }

 

var startIndex: Bit { get{} }

 

Bit startIndex { __get; }

 

ReadOnly Property startIndex() As Bit

 

count  virtual

 

// Island-UIKit for Mac-x86_64
property count: not nullable Int read;
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-WebAssembly-wasm32, Island-Windows
property count: not nullable Int read;

 

// Island-UIKit for Mac-x86_64
Int! count { get; }
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-WebAssembly-wasm32, Island-Windows
Int! count { get; }

 

// Island-UIKit for Mac-x86_64, Toffee-UIKit for Mac
var count: Int { get{} }
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-WebAssembly-wasm32, Island-Windows, Toffee-iOS, Toffee-iOS Simulator, Toffee-Mac Catalyst, Toffee-macOS, Toffee-tvOS, Toffee-tvOS Simulator, Toffee-watchOS, Toffee-watchOS Simulator
var count: Int { get{} }

 

Int count { __get; }

 

// Island-UIKit for Mac-x86_64
ReadOnly Property count() As Int
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-WebAssembly-wasm32, Island-Windows
ReadOnly Property count() As Int

endIndex  virtual

 

property endIndex: not nullable Bit read;

 

Bit! endIndex { get; }

 

var endIndex: Bit { get{} }

 

Bit endIndex { __get; }

 

ReadOnly Property endIndex() As Bit

Item  virtual

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows
property Item[position: not nullable Bit]: not nullable Element read;
// .NET, .NET Standard 2.0
property Item[position: not nullable Bit]: not nullable Element read;
// Island-WebAssembly-wasm32
property Item[position: not nullable Bit]: not nullable Element read;

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows
Element! Item[Bit! position] { get; }
// .NET, .NET Standard 2.0
Element! Item[Bit! position] { get; }
// Island-WebAssembly-wasm32
Element! Item[Bit! position] { get; }

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows
subscript Item(_ position: Bit) -> Element { get{} }
// .NET, .NET Standard 2.0, Toffee
subscript Item(_ position: Bit) -> Element { get{} }
// Island-WebAssembly-wasm32
subscript Item(_ position: Bit) -> Element { get{} }

 

Element Item[Bit position] { __get; }

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows
ReadOnly Property Item(position As Bit) As Element
// .NET, .NET Standard 2.0
ReadOnly Property Item(position As Bit) As Element
// Island-WebAssembly-wasm32
ReadOnly Property Item(position As Bit) As Element

startIndex  virtual

 

property startIndex: not nullable Bit read;

 

Bit! startIndex { get; }

 

var startIndex: Bit { get{} }

 

Bit startIndex { __get; }

 

ReadOnly Property startIndex() As Bit

 

constructor Cooper

 

constructor

 

CollectionOfOne<Element>()

 

init()

 

CollectionOfOne<Element>()

 

Sub New()

constructor (not nullable Element)

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows
constructor(element: not nullable Element)
// .NET, .NET Standard 2.0
constructor(element: not nullable Element)
// Island-WebAssembly-wasm32
constructor(element: not nullable Element)

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows
CollectionOfOne<Element>(Element! element)
// .NET, .NET Standard 2.0
CollectionOfOne<Element>(Element! element)
// Island-WebAssembly-wasm32
CollectionOfOne<Element>(Element! element)

 

init(_ element: Element)

 

CollectionOfOne<Element>(Element element)

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows
Sub New(element As Element)
// .NET, .NET Standard 2.0
Sub New(element As Element)
// Island-WebAssembly-wasm32
Sub New(element As Element)

Parameters:

  • element:

constructor (CollectionOfOne<Element>) Cooper

 

constructor(value: CollectionOfOne<Element>)

 

CollectionOfOne<Element>(CollectionOfOne<Element> value)

 

init(_ value: CollectionOfOne<Element>)

 

CollectionOfOne<Element>(CollectionOfOne<Element> value)

 

Sub New(value As CollectionOfOne<Element>)

Parameters:

  • value:

clone Cooper

 

method clone: Object

 

Object clone()

 

func clone() -> Object

 

Object clone()

 

Function clone() As Object

GetEnumerator  virtual Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-WebAssembly-wasm32, Island-Windows

 

method GetEnumerator: IEnumerator<not nullable Element>

 

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

 

Function GetEnumerator() As IEnumerator<not nullable Element>

GetEnumerator .NET, .NET Standard 2.0, Island-UIKit for Mac-x86_64

 

// Island-UIKit for Mac-x86_64
method GetEnumerator: IEnumerator<not nullable Element>
// .NET, .NET Standard 2.0
method GetEnumerator: IEnumerator<not nullable Element>

 

// Island-UIKit for Mac-x86_64
IEnumerator<not nullable Element> GetEnumerator()
// .NET, .NET Standard 2.0
IEnumerator<Element!> GetEnumerator()

 

// Island-UIKit for Mac-x86_64
func GetEnumerator() -> IEnumerator<not nullable Element>
// .NET, .NET Standard 2.0
func GetEnumerator() -> IEnumerator<Element>

 

// Island-UIKit for Mac-x86_64
Function GetEnumerator() As IEnumerator<not nullable Element>
// .NET, .NET Standard 2.0
Function GetEnumerator() As IEnumerator<Element>

GetSequence  virtual

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows
method GetSequence: not nullable IEnumerable<not nullable Element>
// .NET, .NET Standard 2.0
method GetSequence: not nullable IEnumerable<not nullable Element>
// Island-WebAssembly-wasm32
method GetSequence: not nullable IEnumerable<not nullable Element>

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows
IEnumerable<Element!>! GetSequence()
// .NET, .NET Standard 2.0
IEnumerable<Element!>! GetSequence()
// Island-WebAssembly-wasm32
IEnumerable<Element!>! GetSequence()

 

func GetSequence() -> INSFastEnumeration<Element>

 

Iterable<Element> GetSequence()

 

// Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows
Function GetSequence() As IEnumerable<Element>
// .NET, .NET Standard 2.0
Function GetSequence() As IEnumerable<Element>
// Island-WebAssembly-wasm32
Function GetSequence() As IEnumerable<Element>

iterator Cooper

 

method iterator: Iterator<not nullable Element>

 

Iterator<Element!> iterator()

 

func iterator() -> Iterator<Element>

 

Iterator<Element> iterator()

 

Function iterator() As Iterator<Element>