Array<T>

Overview

Location

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

 

constructor

 

constructor

 

Array<T>()

 

init()

 

Array<T>()

constructor (Array<T>) Cooper

 

constructor(value: Array<T>)

 

Array<T>(Array<T> value)

 

init(_ value: Array<T>)

 

Array<T>(Array<T> value)

Parameters:

  • value:

constructor arrayLiteral(array of T) Toffee

 

init(arrayLiteral array: T...)

Parameters:

  • array:

constructor capacity(not nullable Int) Toffee

 

init(capacity: Int)

Parameters:

  • capacity:

constructor copy(not nullable Array<not nullable T>)

 

constructor copy(var original: not nullable Array<not nullable T>)

 

Array<T> copy(ref Array<not nullable T>! original)

 

init(copy original: Array<not nullable T>)

 

Array<T> copy(__ref Array<not nullable T>! original)

Parameters:

  • original:

constructor (not nullable Iterable<not nullable T>) Cooper

 

constructor(sequence: not nullable Iterable<not nullable T>)

 

Array<T>(Iterable<not nullable T>! sequence)

 

init(_ sequence: Iterable<not nullable T>)

 

Array<T>(Iterable<not nullable T>! sequence)

Parameters:

  • sequence:

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

 

init(_ list: NSArray<T>)

Parameters:

  • list:

constructor (not nullable not nullable ArrayList<not nullable T>) Cooper

 

constructor(list: not nullable not nullable ArrayList<not nullable T>)

 

Array<T>(ArrayList<T!>!! list)

 

init(_ list: ArrayList<T>)

 

Array<T>(ArrayList<T!>!! list)

Parameters:

  • list:

constructor (not nullable not nullable List<not nullable T>) Island

 

constructor(list: not nullable not nullable List<not nullable T>)

 

Array<T>(List<not nullable T>!! list)

 

init(_ list: List<not nullable T>)

Parameters:

  • list:

constructor (not nullable not nullable List<not nullable T>) .NET, .NET Standard 2.0

 

constructor(list: not nullable not nullable List<not nullable T>)

 

Array<T>(List<T!>!! list)

 

init(_ list: List<T>)

Parameters:

  • list:

constructor (not nullable IEnumerable<not nullable T>) .NET, .NET Standard 2.0

 

constructor(sequence: not nullable IEnumerable<not nullable T>)

 

Array<T>(IEnumerable<not nullable T>! sequence)

 

init(_ sequence: IEnumerable<not nullable T>)

Parameters:

  • sequence:

constructor repeating(not nullable T) count(not nullable Int) Toffee

 

init(repeating value: T, count: Int)

Parameters:

  • value:
  • count:

constructor sequence(not nullable INSFastEnumeration<not nullable T>) Toffee

 

init(sequence: INSFastEnumeration<not nullable T>)

Parameters:

  • sequence:

constructor withArrayLiteral(array of T) .NET, .NET Standard 2.0, Cooper, Island

 

constructor withArrayLiteral(params array: array of T)

 

Array<T> withArrayLiteral(params T[] array)

 

init(withArrayLiteral array: T...)

 

Array<T> withArrayLiteral(T[]... array)

Parameters:

  • array:

constructor withCapacity(not nullable Int) .NET, .NET Standard 2.0, Cooper, Island

 

constructor withCapacity(capacity: not nullable Int)

 

Array<T> withCapacity(Int! capacity)

 

init(withCapacity capacity: Int)

 

Array<T> withCapacity(Int! capacity)

Parameters:

  • capacity:

constructor withRepeating(not nullable T) count(not nullable Int) .NET, .NET Standard 2.0, Cooper, Island

 

constructor withRepeating(value: not nullable T) count(count: not nullable Int)

 

Array<T> withRepeating(T! value) count(Int! count)

 

init(withRepeating value: T, count: Int)

 

Array<T> withRepeating(T! value) count(Int! count)

Parameters:

  • value:
  • count:

constructor withSequence(not nullable IEnumerable<not nullable T>) Island

 

constructor withSequence(sequence: not nullable IEnumerable<not nullable T>)

 

Array<T> withSequence(IEnumerable<not nullable T>! sequence)

 

init(withSequence sequence: IEnumerable<not nullable T>)

Parameters:

  • sequence:

add (not nullable Integer, T) Cooper

 

method add(arg1: not nullable Integer; arg2: T)

 

void add(Integer! arg1, T arg2)

 

func add(_ arg1: Integer, _ arg2: T)

 

void add(Integer! arg1, T arg2)

Parameters:

  • arg1:
  • arg2:

add (T): not nullable Bool Cooper

 

method add(arg1: T): not nullable Bool

 

Bool! add(T arg1)

 

func add(_ arg1: T) -> Bool

 

Bool! add(T arg1)

Parameters:

  • arg1:

addAll (Collection<not nullable T>): not nullable Bool Cooper

 

method addAll(arg1: Collection<not nullable T>): not nullable Bool

 

Bool! addAll(Collection<T!> arg1)

 

func addAll(_ arg1: Collection<T>) -> Bool

 

Bool! addAll(Collection<T!> arg1)

Parameters:

  • arg1:

addAll (not nullable Integer, Collection<not nullable T>): not nullable Bool Cooper

 

method addAll(arg1: not nullable Integer; arg2: Collection<not nullable T>): not nullable Bool

 

Bool! addAll(Integer! arg1, Collection<T!> arg2)

 

func addAll(_ arg1: Integer, _ arg2: Collection<T>) -> Bool

 

Bool! addAll(Integer! arg1, Collection<T!> arg2)

Parameters:

  • arg1:
  • arg2:

append  virtual

 

method append(newElement: T)

 

void append(T newElement)

 

func append(_ newElement: T)

 

void append(T newElement)

Parameters:

  • newElement:

capacity  virtual

 

property capacity: not nullable Int read;

 

Int! capacity { get; }

 

var capacity: Int { get{} }

 

Int! capacity { __get; }

clear Cooper

 

method clear

 

void clear()

 

func clear()

 

void clear()

clone Cooper

 

method clone: Object

 

Object clone()

 

func clone() -> Object

 

Object clone()

contains (not nullable T): not nullable Bool  virtual

 

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

 

Bool! contains(T! item)

 

func contains(_ item: T) -> Bool

 

Bool! contains(T! item)

Parameters:

  • item:

contains (Object): not nullable Bool Cooper

 

method contains(arg1: Object): not nullable Bool

 

Bool! contains(Object arg1)

 

func contains(_ arg1: Object) -> Bool

 

Bool! contains(Object arg1)

Parameters:

  • arg1:

containsAll Cooper

 

method containsAll(arg1: Collection<not nullable T>): not nullable Bool

 

Bool! containsAll(Collection<T!> arg1)

 

func containsAll(_ arg1: Collection<T>) -> Bool

 

Bool! containsAll(Collection<T!> arg1)

Parameters:

  • arg1:

count  virtual

 

property count: not nullable Int read;

 

Int! count { get; }

 

var count: Int { get{} }

 

Int! count { __get; }

description  override

 

method description: not nullable String

 

String! description()

 

func description() -> String

 

String! description()

enumerated  virtual

 

// .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
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()

Equals .NET, .NET Standard 2.0, Cooper

 

method Equals(other: Object): not nullable Bool

 

Bool! Equals(Object other)

 

func Equals(_ other: Object) -> Bool

 

Bool! Equals(Object other)

Parameters:

  • other:

extend (not nullable Array<not nullable T>)  virtual

 

method extend(array: not nullable Array<not nullable T>)

 

void extend(Array<not nullable T>! array)

 

func extend(_ array: Array<not nullable T>)

 

void extend(Array<not nullable T>! array)

Parameters:

  • array:

extend (not nullable IEnumerable<not nullable T>)  virtual

 

method extend(sequence: not nullable IEnumerable<not nullable T>)

 

void extend(IEnumerable<not nullable T>! sequence)

 

func extend(_ sequence: INSFastEnumeration<not nullable T>)

 

void extend(Iterable<not nullable T>! sequence)

Parameters:

  • sequence:

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

 

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: (T) -> Bool) -> INSFastEnumeration<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:

first  virtual

 

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; }

get Cooper

 

method get(arg1: not nullable Integer): not nullable T

 

T! get(Integer! arg1)

 

func get(_ arg1: Integer) -> T

 

T! get(Integer! arg1)

Parameters:

  • arg1:

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<T!> GetEnumerator()
// Island
IEnumerator<not nullable T> GetEnumerator()

 

// .NET, .NET Standard 2.0
func GetEnumerator() -> IEnumerator<T>
// Island
func GetEnumerator() -> 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<not nullable T>! GetSequence()

hashCode Cooper

 

method hashCode: not nullable Integer

 

Integer! hashCode()

 

func hashCode() -> Integer

 

Integer! hashCode()

indexOf Cooper

 

method indexOf(arg1: Object): not nullable Integer

 

Integer! indexOf(Object arg1)

 

func indexOf(_ arg1: Object) -> Integer

 

Integer! indexOf(Object arg1)

Parameters:

  • arg1:

insert  virtual

 

method insert(newElement: T) at(index: not nullable Int)

 

void insert(T newElement) at(Int! index)

 

func insert(_ newElement: T, at index: Int)

 

void insert(T newElement) at(Int! index)

Parameters:

  • newElement:
  • index:

isEmpty Cooper

 

method isEmpty: not nullable Bool

 

Bool! isEmpty()

 

func isEmpty() -> Bool

 

Bool! isEmpty()

isEmpty  virtual

 

property isEmpty: not nullable Bool read;

 

Bool! isEmpty { get; }

 

var isEmpty: Bool { get{} }

 

Bool! isEmpty { __get; }

isEqual  override Toffee

 

func isEqual(_ other: Object) -> Bool

Parameters:

  • other:

Item  virtual

 

property Item[index: not nullable Int]: not nullable T read write;

 

T! Item[Int! index] { get; set; }

 

subscript Item(_ index: Int) -> T { get{} set{} }

 

T! Item[Int! index] { __get; __set; }

Item  virtual

 

property Item[range: not nullable Range]: not nullable Array<not nullable T> read;

 

Array<not nullable T>! Item[Range! range] { get; }

 

subscript Item(_ range: Range) -> Array<not nullable T> { get{} }

 

Array<not nullable T>! Item[Range! range] { __get; }

iterator Cooper

 

method iterator: Iterator<not nullable T>

 

Iterator<T!> iterator()

 

func iterator() -> Iterator<T>

 

Iterator<T!> iterator()

last  virtual

 

property last: nullable GenericNullable<T> read;

 

GenericNullable<T>? last { get; }

 

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

 

T? last { __get; }

lastIndexOf Cooper

 

method lastIndexOf(arg1: Object): not nullable Integer

 

Integer! lastIndexOf(Object arg1)

 

func lastIndexOf(_ arg1: Object) -> Integer

 

Integer! lastIndexOf(Object arg1)

Parameters:

  • arg1:

lazy  virtual

 

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; }

listIterator Cooper

 

method listIterator: ListIterator<not nullable T>

 

ListIterator<T!> listIterator()

 

func listIterator() -> ListIterator<T>

 

ListIterator<T!> listIterator()

listIterator (not nullable Integer): ListIterator<not nullable T> Cooper

 

method listIterator(arg1: not nullable Integer): ListIterator<not nullable T>

 

ListIterator<T!> listIterator(Integer! arg1)

 

func listIterator(_ arg1: Integer) -> ListIterator<T>

 

ListIterator<T!> listIterator(Integer! arg1)

Parameters:

  • arg1:

map<U>  virtual

 

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:

nativeArray  virtual

 

property nativeArray: not nullable array of not nullable T read;

 

T![]! nativeArray { get; }

 

var nativeArray: T... { get{} }

 

T![]! nativeArray { __get; }

platformList  virtual

 

// .NET, .NET Standard 2.0
property platformList: not nullable not nullable List<not nullable T> read;
// Island
property platformList: not nullable not nullable List<not nullable T> read;

 

// .NET, .NET Standard 2.0
List<T!>!! platformList { get; }
// Island
List<not nullable T>!! platformList { get; }

 

// .NET, .NET Standard 2.0
var platformList: List<T> { get{} }
// Island
var platformList: List<not nullable T> { get{} }
// Toffee
var platformList: NSMutableArray<T> { get{} }

 

ArrayList<T!>!! platformList { __get; }

remove at(not nullable Int): not nullable T  virtual

 

method remove at(index: not nullable Int): not nullable T

 

T! remove at(Int! index)

 

func remove(at index: Int) -> T

 

T! remove at(Int! index)

Parameters:

  • index:

remove (not nullable Integer): T Cooper

 

method remove(arg1: not nullable Integer): T

 

T remove(Integer! arg1)

 

func remove(_ arg1: Integer) -> T

 

T remove(Integer! arg1)

Parameters:

  • arg1:

remove (Object): not nullable Bool Cooper

 

method remove(arg1: Object): not nullable Bool

 

Bool! remove(Object arg1)

 

func remove(_ arg1: Object) -> Bool

 

Bool! remove(Object arg1)

Parameters:

  • arg1:

remove (T)  virtual

 

method remove(object: T)

 

void remove(T object)

 

func remove(_ object: T)

 

void remove(T object)

Parameters:

  • object:

removeAll (Collection<not nullable Object>): not nullable Bool Cooper

 

method removeAll(arg1: Collection<not nullable Object>): not nullable Bool

 

Bool! removeAll(Collection<Object!> arg1)

 

func removeAll(_ arg1: Collection<Object>) -> Bool

 

Bool! removeAll(Collection<Object!> arg1)

Parameters:

  • arg1:

removeAll keepCapacity(not nullable Bool)  virtual

 

method removeAll keepCapacity(keepCapacity: not nullable Bool)

 

void removeAll keepCapacity(Bool! keepCapacity)

 

func removeAll(keepCapacity: Bool)

 

void removeAll keepCapacity(Bool! keepCapacity)

Parameters:

  • keepCapacity:

removeLast  virtual

 

method removeLast: T

 

T removeLast()

 

func removeLast() -> T

 

T removeLast()

replaceAll Cooper

 

method replaceAll(arg1: UnaryOperator<T>)

 

void replaceAll(UnaryOperator<T> arg1)

 

func replaceAll(_ arg1: UnaryOperator<T>)

 

void replaceAll(UnaryOperator<T> arg1)

Parameters:

  • arg1:

reserveCapacity  virtual

 

method reserveCapacity(minimumCapacity: not nullable Int)

 

void reserveCapacity(Int! minimumCapacity)

 

func reserveCapacity(_ minimumCapacity: Int)

 

void reserveCapacity(Int! minimumCapacity)

Parameters:

  • minimumCapacity:

retainAll Cooper

 

method retainAll(arg1: Collection<not nullable Object>): not nullable Bool

 

Bool! retainAll(Collection<Object!> arg1)

 

func retainAll(_ arg1: Collection<Object>) -> Bool

 

Bool! retainAll(Collection<Object!> arg1)

Parameters:

  • arg1:

reverse  virtual

 

method reverse

 

void reverse()

 

func reverse()

 

void reverse()

reversed  virtual

 

method reversed: not nullable Array<not nullable T>

 

Array<not nullable T>! reversed()

 

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

 

Array<not nullable T>! reversed()

set Cooper

 

method set(arg1: not nullable Integer; value: T): not nullable T

 

T! set(Integer! arg1, T value)

 

func set(_ arg1: Integer, _ value: T) -> T

 

T! set(Integer! arg1, T value)

Parameters:

  • arg1:
  • value:

size Cooper

 

method size: not nullable Integer

 

Integer! size()

 

func size() -> Integer

 

Integer! size()

sort by(not nullable Func<not nullable T, not nullable T, not nullable Bool>)  virtual

 

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

 

void sort by(Func<T!, T!, Bool!>! isOrderedBefore)

 

func sort(by isOrderedBefore: (T,T) -> Bool)

 

void sort by(Func3<not nullable T, not nullable T, not nullable Boolean>! isOrderedBefore)

Parameters:

  • isOrderedBefore:

sort (Comparator<Object>) Cooper

 

method sort(arg1: Comparator<Object>)

 

void sort(Comparator<Object> arg1)

 

func sort(_ arg1: Comparator<Object>)

 

void sort(Comparator<Object> arg1)

Parameters:

  • arg1:

sorted  virtual

 

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

 

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

 

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

 

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

Parameters:

  • isOrderedBefore:

spliterator Cooper

 

method spliterator: Spliterator<not nullable T>

 

Spliterator<T!> spliterator()

 

func spliterator() -> Spliterator<T>

 

Spliterator<T!> spliterator()

subList Cooper

 

method subList(arg1: not nullable Integer; arg2: not nullable Integer): java.util.List<not nullable T>

 

java.util.List<T!> subList(Integer! arg1, Integer! arg2)

 

func subList(_ arg1: Integer, _ arg2: Integer) -> java.util.List<T>

 

java.util.List<T!> subList(Integer! arg1, Integer! arg2)

Parameters:

  • arg1:
  • arg2:

swapAt  virtual

 

method swapAt(i: not nullable Int; j: not nullable Int)

 

void swapAt(Int! i, Int! j)

 

func swapAt(_ i: Int, _ j: Int)

 

void swapAt(Int! i, Int! j)

Parameters:

  • i:
  • j:

toArray Cooper

 

method toArray: not nullable array of Object

 

Object[]! toArray()

 

func toArray() -> Object...

 

Object[]! toArray()

toArray<T> Cooper

 

method toArray<T>(arg1: not nullable array of T): not nullable array of T

 

T[]! toArray<T>(T[]! arg1)

 

func toArray<T>(_ arg1: T...) -> T...

 

T[]! toArray<T>(T[]! arg1)

Parameters:

  • arg1:

ToString  override virtual .NET, .NET Standard 2.0, Cooper, Island

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

 

capacity  virtual

 

property capacity: not nullable Int read;

 

Int! capacity { get; }

 

var capacity: Int { get{} }

 

Int! capacity { __get; }

count  virtual

 

property count: not nullable Int read;

 

Int! count { get; }

 

var count: Int { get{} }

 

Int! count { __get; }

first  virtual

 

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  virtual

 

property isEmpty: not nullable Bool read;

 

Bool! isEmpty { get; }

 

var isEmpty: Bool { get{} }

 

Bool! isEmpty { __get; }

Item  virtual

 

property Item[index: not nullable Int]: not nullable T read write;

 

T! Item[Int! index] { get; set; }

 

subscript Item(_ index: Int) -> T { get{} set{} }

 

T! Item[Int! index] { __get; __set; }

Item  virtual

 

property Item[range: not nullable Range]: not nullable Array<not nullable T> read;

 

Array<not nullable T>! Item[Range! range] { get; }

 

subscript Item(_ range: Range) -> Array<not nullable T> { get{} }

 

Array<not nullable T>! Item[Range! range] { __get; }

last  virtual

 

property last: nullable GenericNullable<T> read;

 

GenericNullable<T>? last { get; }

 

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

 

T? last { __get; }

lazy  virtual

 

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; }

nativeArray  virtual

 

property nativeArray: not nullable array of not nullable T read;

 

T![]! nativeArray { get; }

 

var nativeArray: T... { get{} }

 

T![]! nativeArray { __get; }

platformList  virtual

 

// .NET, .NET Standard 2.0
property platformList: not nullable not nullable List<not nullable T> read;
// Island
property platformList: not nullable not nullable List<not nullable T> read;

 

// .NET, .NET Standard 2.0
List<T!>!! platformList { get; }
// Island
List<not nullable T>!! platformList { get; }

 

// .NET, .NET Standard 2.0
var platformList: List<T> { get{} }
// Island
var platformList: List<not nullable T> { get{} }
// Toffee
var platformList: NSMutableArray<T> { get{} }

 

ArrayList<T!>!! platformList { __get; }

 

constructor

 

constructor

 

Array<T>()

 

init()

 

Array<T>()

constructor (Array<T>) Cooper

 

constructor(value: Array<T>)

 

Array<T>(Array<T> value)

 

init(_ value: Array<T>)

 

Array<T>(Array<T> value)

Parameters:

  • value:

constructor arrayLiteral(array of T) Toffee

 

init(arrayLiteral array: T...)

Parameters:

  • array:

constructor capacity(not nullable Int) Toffee

 

init(capacity: Int)

Parameters:

  • capacity:

constructor copy(not nullable Array<not nullable T>)

 

constructor copy(var original: not nullable Array<not nullable T>)

 

Array<T> copy(ref Array<not nullable T>! original)

 

init(copy original: Array<not nullable T>)

 

Array<T> copy(__ref Array<not nullable T>! original)

Parameters:

  • original:

constructor (not nullable Iterable<not nullable T>) Cooper

 

constructor(sequence: not nullable Iterable<not nullable T>)

 

Array<T>(Iterable<not nullable T>! sequence)

 

init(_ sequence: Iterable<not nullable T>)

 

Array<T>(Iterable<not nullable T>! sequence)

Parameters:

  • sequence:

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

 

init(_ list: NSArray<T>)

Parameters:

  • list:

constructor (not nullable not nullable ArrayList<not nullable T>) Cooper

 

constructor(list: not nullable not nullable ArrayList<not nullable T>)

 

Array<T>(ArrayList<T!>!! list)

 

init(_ list: ArrayList<T>)

 

Array<T>(ArrayList<T!>!! list)

Parameters:

  • list:

constructor (not nullable not nullable List<not nullable T>) Island

 

constructor(list: not nullable not nullable List<not nullable T>)

 

Array<T>(List<not nullable T>!! list)

 

init(_ list: List<not nullable T>)

Parameters:

  • list:

constructor (not nullable not nullable List<not nullable T>) .NET, .NET Standard 2.0

 

constructor(list: not nullable not nullable List<not nullable T>)

 

Array<T>(List<T!>!! list)

 

init(_ list: List<T>)

Parameters:

  • list:

constructor (not nullable IEnumerable<not nullable T>) .NET, .NET Standard 2.0

 

constructor(sequence: not nullable IEnumerable<not nullable T>)

 

Array<T>(IEnumerable<not nullable T>! sequence)

 

init(_ sequence: IEnumerable<not nullable T>)

Parameters:

  • sequence:

constructor repeating(not nullable T) count(not nullable Int) Toffee

 

init(repeating value: T, count: Int)

Parameters:

  • value:
  • count:

constructor sequence(not nullable INSFastEnumeration<not nullable T>) Toffee

 

init(sequence: INSFastEnumeration<not nullable T>)

Parameters:

  • sequence:

constructor withArrayLiteral(array of T) .NET, .NET Standard 2.0, Cooper, Island

 

constructor withArrayLiteral(params array: array of T)

 

Array<T> withArrayLiteral(params T[] array)

 

init(withArrayLiteral array: T...)

 

Array<T> withArrayLiteral(T[]... array)

Parameters:

  • array:

constructor withCapacity(not nullable Int) .NET, .NET Standard 2.0, Cooper, Island

 

constructor withCapacity(capacity: not nullable Int)

 

Array<T> withCapacity(Int! capacity)

 

init(withCapacity capacity: Int)

 

Array<T> withCapacity(Int! capacity)

Parameters:

  • capacity:

constructor withRepeating(not nullable T) count(not nullable Int) .NET, .NET Standard 2.0, Cooper, Island

 

constructor withRepeating(value: not nullable T) count(count: not nullable Int)

 

Array<T> withRepeating(T! value) count(Int! count)

 

init(withRepeating value: T, count: Int)

 

Array<T> withRepeating(T! value) count(Int! count)

Parameters:

  • value:
  • count:

constructor withSequence(not nullable IEnumerable<not nullable T>) Island

 

constructor withSequence(sequence: not nullable IEnumerable<not nullable T>)

 

Array<T> withSequence(IEnumerable<not nullable T>! sequence)

 

init(withSequence sequence: IEnumerable<not nullable T>)

Parameters:

  • sequence:

add (not nullable Integer, T) Cooper

 

method add(arg1: not nullable Integer; arg2: T)

 

void add(Integer! arg1, T arg2)

 

func add(_ arg1: Integer, _ arg2: T)

 

void add(Integer! arg1, T arg2)

Parameters:

  • arg1:
  • arg2:

add (T): not nullable Bool Cooper

 

method add(arg1: T): not nullable Bool

 

Bool! add(T arg1)

 

func add(_ arg1: T) -> Bool

 

Bool! add(T arg1)

Parameters:

  • arg1:

addAll (Collection<not nullable T>): not nullable Bool Cooper

 

method addAll(arg1: Collection<not nullable T>): not nullable Bool

 

Bool! addAll(Collection<T!> arg1)

 

func addAll(_ arg1: Collection<T>) -> Bool

 

Bool! addAll(Collection<T!> arg1)

Parameters:

  • arg1:

addAll (not nullable Integer, Collection<not nullable T>): not nullable Bool Cooper

 

method addAll(arg1: not nullable Integer; arg2: Collection<not nullable T>): not nullable Bool

 

Bool! addAll(Integer! arg1, Collection<T!> arg2)

 

func addAll(_ arg1: Integer, _ arg2: Collection<T>) -> Bool

 

Bool! addAll(Integer! arg1, Collection<T!> arg2)

Parameters:

  • arg1:
  • arg2:

append  virtual

 

method append(newElement: T)

 

void append(T newElement)

 

func append(_ newElement: T)

 

void append(T newElement)

Parameters:

  • newElement:

clear Cooper

 

method clear

 

void clear()

 

func clear()

 

void clear()

clone Cooper

 

method clone: Object

 

Object clone()

 

func clone() -> Object

 

Object clone()

contains (not nullable T): not nullable Bool  virtual

 

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

 

Bool! contains(T! item)

 

func contains(_ item: T) -> Bool

 

Bool! contains(T! item)

Parameters:

  • item:

contains (Object): not nullable Bool Cooper

 

method contains(arg1: Object): not nullable Bool

 

Bool! contains(Object arg1)

 

func contains(_ arg1: Object) -> Bool

 

Bool! contains(Object arg1)

Parameters:

  • arg1:

containsAll Cooper

 

method containsAll(arg1: Collection<not nullable T>): not nullable Bool

 

Bool! containsAll(Collection<T!> arg1)

 

func containsAll(_ arg1: Collection<T>) -> Bool

 

Bool! containsAll(Collection<T!> arg1)

Parameters:

  • arg1:

description  override

 

method description: not nullable String

 

String! description()

 

func description() -> String

 

String! description()

enumerated  virtual

 

// .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
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()

Equals .NET, .NET Standard 2.0, Cooper

 

method Equals(other: Object): not nullable Bool

 

Bool! Equals(Object other)

 

func Equals(_ other: Object) -> Bool

 

Bool! Equals(Object other)

Parameters:

  • other:

extend (not nullable Array<not nullable T>)  virtual

 

method extend(array: not nullable Array<not nullable T>)

 

void extend(Array<not nullable T>! array)

 

func extend(_ array: Array<not nullable T>)

 

void extend(Array<not nullable T>! array)

Parameters:

  • array:

extend (not nullable IEnumerable<not nullable T>)  virtual

 

method extend(sequence: not nullable IEnumerable<not nullable T>)

 

void extend(IEnumerable<not nullable T>! sequence)

 

func extend(_ sequence: INSFastEnumeration<not nullable T>)

 

void extend(Iterable<not nullable T>! sequence)

Parameters:

  • sequence:

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

 

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: (T) -> Bool) -> INSFastEnumeration<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:

get Cooper

 

method get(arg1: not nullable Integer): not nullable T

 

T! get(Integer! arg1)

 

func get(_ arg1: Integer) -> T

 

T! get(Integer! arg1)

Parameters:

  • arg1:

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<T!> GetEnumerator()
// Island
IEnumerator<not nullable T> GetEnumerator()

 

// .NET, .NET Standard 2.0
func GetEnumerator() -> IEnumerator<T>
// Island
func GetEnumerator() -> 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<not nullable T>! GetSequence()

hashCode Cooper

 

method hashCode: not nullable Integer

 

Integer! hashCode()

 

func hashCode() -> Integer

 

Integer! hashCode()

indexOf Cooper

 

method indexOf(arg1: Object): not nullable Integer

 

Integer! indexOf(Object arg1)

 

func indexOf(_ arg1: Object) -> Integer

 

Integer! indexOf(Object arg1)

Parameters:

  • arg1:

insert  virtual

 

method insert(newElement: T) at(index: not nullable Int)

 

void insert(T newElement) at(Int! index)

 

func insert(_ newElement: T, at index: Int)

 

void insert(T newElement) at(Int! index)

Parameters:

  • newElement:
  • index:

isEmpty Cooper

 

method isEmpty: not nullable Bool

 

Bool! isEmpty()

 

func isEmpty() -> Bool

 

Bool! isEmpty()

isEqual  override Toffee

 

func isEqual(_ other: Object) -> Bool

Parameters:

  • other:

iterator Cooper

 

method iterator: Iterator<not nullable T>

 

Iterator<T!> iterator()

 

func iterator() -> Iterator<T>

 

Iterator<T!> iterator()

lastIndexOf Cooper

 

method lastIndexOf(arg1: Object): not nullable Integer

 

Integer! lastIndexOf(Object arg1)

 

func lastIndexOf(_ arg1: Object) -> Integer

 

Integer! lastIndexOf(Object arg1)

Parameters:

  • arg1:

listIterator Cooper

 

method listIterator: ListIterator<not nullable T>

 

ListIterator<T!> listIterator()

 

func listIterator() -> ListIterator<T>

 

ListIterator<T!> listIterator()

listIterator (not nullable Integer): ListIterator<not nullable T> Cooper

 

method listIterator(arg1: not nullable Integer): ListIterator<not nullable T>

 

ListIterator<T!> listIterator(Integer! arg1)

 

func listIterator(_ arg1: Integer) -> ListIterator<T>

 

ListIterator<T!> listIterator(Integer! arg1)

Parameters:

  • arg1:

map<U>  virtual

 

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:

remove at(not nullable Int): not nullable T  virtual

 

method remove at(index: not nullable Int): not nullable T

 

T! remove at(Int! index)

 

func remove(at index: Int) -> T

 

T! remove at(Int! index)

Parameters:

  • index:

remove (not nullable Integer): T Cooper

 

method remove(arg1: not nullable Integer): T

 

T remove(Integer! arg1)

 

func remove(_ arg1: Integer) -> T

 

T remove(Integer! arg1)

Parameters:

  • arg1:

remove (Object): not nullable Bool Cooper

 

method remove(arg1: Object): not nullable Bool

 

Bool! remove(Object arg1)

 

func remove(_ arg1: Object) -> Bool

 

Bool! remove(Object arg1)

Parameters:

  • arg1:

remove (T)  virtual

 

method remove(object: T)

 

void remove(T object)

 

func remove(_ object: T)

 

void remove(T object)

Parameters:

  • object:

removeAll (Collection<not nullable Object>): not nullable Bool Cooper

 

method removeAll(arg1: Collection<not nullable Object>): not nullable Bool

 

Bool! removeAll(Collection<Object!> arg1)

 

func removeAll(_ arg1: Collection<Object>) -> Bool

 

Bool! removeAll(Collection<Object!> arg1)

Parameters:

  • arg1:

removeAll keepCapacity(not nullable Bool)  virtual

 

method removeAll keepCapacity(keepCapacity: not nullable Bool)

 

void removeAll keepCapacity(Bool! keepCapacity)

 

func removeAll(keepCapacity: Bool)

 

void removeAll keepCapacity(Bool! keepCapacity)

Parameters:

  • keepCapacity:

removeLast  virtual

 

method removeLast: T

 

T removeLast()

 

func removeLast() -> T

 

T removeLast()

replaceAll Cooper

 

method replaceAll(arg1: UnaryOperator<T>)

 

void replaceAll(UnaryOperator<T> arg1)

 

func replaceAll(_ arg1: UnaryOperator<T>)

 

void replaceAll(UnaryOperator<T> arg1)

Parameters:

  • arg1:

reserveCapacity  virtual

 

method reserveCapacity(minimumCapacity: not nullable Int)

 

void reserveCapacity(Int! minimumCapacity)

 

func reserveCapacity(_ minimumCapacity: Int)

 

void reserveCapacity(Int! minimumCapacity)

Parameters:

  • minimumCapacity:

retainAll Cooper

 

method retainAll(arg1: Collection<not nullable Object>): not nullable Bool

 

Bool! retainAll(Collection<Object!> arg1)

 

func retainAll(_ arg1: Collection<Object>) -> Bool

 

Bool! retainAll(Collection<Object!> arg1)

Parameters:

  • arg1:

reverse  virtual

 

method reverse

 

void reverse()

 

func reverse()

 

void reverse()

reversed  virtual

 

method reversed: not nullable Array<not nullable T>

 

Array<not nullable T>! reversed()

 

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

 

Array<not nullable T>! reversed()

set Cooper

 

method set(arg1: not nullable Integer; value: T): not nullable T

 

T! set(Integer! arg1, T value)

 

func set(_ arg1: Integer, _ value: T) -> T

 

T! set(Integer! arg1, T value)

Parameters:

  • arg1:
  • value:

size Cooper

 

method size: not nullable Integer

 

Integer! size()

 

func size() -> Integer

 

Integer! size()

sort by(not nullable Func<not nullable T, not nullable T, not nullable Bool>)  virtual

 

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

 

void sort by(Func<T!, T!, Bool!>! isOrderedBefore)

 

func sort(by isOrderedBefore: (T,T) -> Bool)

 

void sort by(Func3<not nullable T, not nullable T, not nullable Boolean>! isOrderedBefore)

Parameters:

  • isOrderedBefore:

sort (Comparator<Object>) Cooper

 

method sort(arg1: Comparator<Object>)

 

void sort(Comparator<Object> arg1)

 

func sort(_ arg1: Comparator<Object>)

 

void sort(Comparator<Object> arg1)

Parameters:

  • arg1:

sorted  virtual

 

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

 

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

 

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

 

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

Parameters:

  • isOrderedBefore:

spliterator Cooper

 

method spliterator: Spliterator<not nullable T>

 

Spliterator<T!> spliterator()

 

func spliterator() -> Spliterator<T>

 

Spliterator<T!> spliterator()

subList Cooper

 

method subList(arg1: not nullable Integer; arg2: not nullable Integer): java.util.List<not nullable T>

 

java.util.List<T!> subList(Integer! arg1, Integer! arg2)

 

func subList(_ arg1: Integer, _ arg2: Integer) -> java.util.List<T>

 

java.util.List<T!> subList(Integer! arg1, Integer! arg2)

Parameters:

  • arg1:
  • arg2:

swapAt  virtual

 

method swapAt(i: not nullable Int; j: not nullable Int)

 

void swapAt(Int! i, Int! j)

 

func swapAt(_ i: Int, _ j: Int)

 

void swapAt(Int! i, Int! j)

Parameters:

  • i:
  • j:

toArray Cooper

 

method toArray: not nullable array of Object

 

Object[]! toArray()

 

func toArray() -> Object...

 

Object[]! toArray()

toArray<T> Cooper

 

method toArray<T>(arg1: not nullable array of T): not nullable array of T

 

T[]! toArray<T>(T[]! arg1)

 

func toArray<T>(_ arg1: T...) -> T...

 

T[]! toArray<T>(T[]! arg1)

Parameters:

  • arg1:

ToString  override virtual .NET, .NET Standard 2.0, Cooper, Island

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()