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

 

Sub New()

constructor (Array<T>) Cooper

 

constructor(value: Array<T>)

 

Array<T>(Array<T> value)

 

init(_ value: Array<T>)

 

Array<T>(Array<T> value)

 

Sub New(value As Array<T>)

Parameters:

  • value:

constructor (not nullable Array<not nullable T>)

 

constructor(items: not nullable Array<not nullable T>)

 

Array<T>(Array<not nullable T>! items)

 

init(_ items: Array<not nullable T>)

 

Array<T>(Array<T> items)

 

Sub New(items As Array<not nullable T>)

Parameters:

  • items:

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

 

init(_ list: NSArray<T>)

Parameters:

  • list:

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<T> sequence)

 

Sub New(sequence As Iterable<not nullable T>)

Parameters:

  • sequence:

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>(not ArrayList<T> list)

 

Sub New(list As ArrayList<T>)

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>)

 

Sub New(list As List<not nullable T>)

Parameters:

  • list:

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

 

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

 

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

 

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

 

Sub New(sequence As IEnumerable<not nullable T>)

Parameters:

  • sequence:

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

 

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

Parameters:

  • sequence:

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>)

 

Sub New(sequence As IEnumerable<not nullable T>)

Parameters:

  • sequence:

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>)

 

Sub New(list As List<T>)

Parameters:

  • list:

constructor withArrayLiteral(array of T)

 

constructor withArrayLiteral(params array: array of T)

 

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

 

init(withArrayLiteral array: T...)

 

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

 

Sub New withArrayLiteral(ParamArray array As T())

Parameters:

  • array:

constructor withCapacity(not nullable Int)

 

constructor withCapacity(capacity: not nullable Int)

 

Array<T> withCapacity(Int! capacity)

 

init(withCapacity capacity: Int)

 

Array<T> withCapacity(Int capacity)

 

Sub New withCapacity(capacity As Int)

Parameters:

  • capacity:

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

 

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)

 

Sub New withRepeating(value As T) count(count As Int)

Parameters:

  • value:
  • count:

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)

 

Sub add(arg1 As Integer, arg2 As T)

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)

 

Function add(arg1 As T) As Bool

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)

 

Function addAll(arg1 As Collection<T>) As Bool

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)

 

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

Parameters:

  • arg1:
  • arg2:

append  virtual

 

method append(newElement: T)

 

void append(T newElement)

 

func append(_ newElement: T)

 

void append(T newElement)

 

Sub append(newElement As T)

Parameters:

  • newElement:

capacity  virtual

 

property capacity: not nullable Int read;

 

Int! capacity { get; }

 

var capacity: Int { get{} }

 

Int capacity { __get; }

 

ReadOnly Property capacity() As Int

clear Cooper

 

method clear

 

void clear()

 

func clear()

 

void clear()

 

Sub clear()

clone Cooper

 

method clone: Object

 

Object clone()

 

func clone() -> Object

 

Object clone()

 

Function clone() As Object

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)

 

Function contains(item As T) As Bool

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)

 

Function contains(arg1 As Object) As Bool

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)

 

Function containsAll(arg1 As Collection<T>) As Bool

Parameters:

  • arg1:

count  virtual

 

property count: not nullable Int read;

 

Int! count { get; }

 

var count: Int { get{} }

 

Int count { __get; }

 

ReadOnly Property count() As Int

description  override

 

method description: not nullable String

 

String! description()

 

func description() -> String

 

String description()

 

Function description() As String

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 tuple of (not nullable Int, not nullable T)>! enumerated()
// .NET Standard 2.0
IEnumerable<not nullable ValueTuple<not nullable Int!, T>>! enumerated()

 

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

 

Iterable<Tuple2<Long, T>> enumerated()

 

// .NET, Island
Function enumerated() As IEnumerable<not nullable Tuple (Of not nullable Int, not nullable T)>
// .NET Standard 2.0
Function enumerated() As IEnumerable<not nullable ValueTuple<not nullable Int, not nullable T>>

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)

 

Function Equals(other As Object) As Bool

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<T> array)

 

Sub extend(array As Array<not nullable T>)

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<T> sequence)

 

Sub extend(sequence As IEnumerable<not nullable T>)

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>

 

Function filter(includeElement As Func (Of not nullable T, not nullable Bool)) As IEnumerable<not nullable T>

Parameters:

  • includeElement:

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

 

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

 

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

 

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

 

Iterable<T> filter(Func2<T, Boolean> includeElement)

 

Function filter(includeElement As Func (Of not nullable T, not nullable Boolean)) As Iterable<not nullable T>

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

 

ReadOnly Property first() As GenericNullable<T>?

get Cooper

 

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

 

T! get(Integer! arg1)

 

func get(_ arg1: Integer) -> T

 

T get(Integer arg1)

 

Function get(arg1 As Integer) As T

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>

 

// .NET, .NET Standard 2.0
Function GetEnumerator() As IEnumerator<T>
// Island
Function GetEnumerator() As 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<T> GetSequence()

 

Function GetSequence() As IEnumerable<not nullable T>

hashCode Cooper

 

method hashCode: not nullable Integer

 

Integer! hashCode()

 

func hashCode() -> Integer

 

Integer hashCode()

 

Function hashCode() As Integer

indexOf Cooper

 

method indexOf(arg1: Object): not nullable Integer

 

Integer! indexOf(Object arg1)

 

func indexOf(_ arg1: Object) -> Integer

 

Integer indexOf(Object arg1)

 

Function indexOf(arg1 As Object) As Integer

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)

 

Sub insert(newElement As T) at(index As Int)

Parameters:

  • newElement:
  • index:

isEmpty Cooper

 

method isEmpty: not nullable Bool

 

Bool! isEmpty()

 

func isEmpty() -> Bool

 

Bool isEmpty()

 

Function isEmpty() As Bool

isEmpty  virtual

 

property isEmpty: not nullable Bool read;

 

Bool! isEmpty { get; }

 

var isEmpty: Bool { get{} }

 

Bool isEmpty { __get; }

 

ReadOnly Property isEmpty() As Bool

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

 

Property Item(index As Int) As T

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<T> Item[Range range] { __get; }

 

ReadOnly Property Item(range As Range) As Array<not nullable T>

iterator Cooper

 

method iterator: Iterator<not nullable T>

 

Iterator<T!> iterator()

 

func iterator() -> Iterator<T>

 

Iterator<T> iterator()

 

Function iterator() As Iterator<T>

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

 

ReadOnly Property last() As GenericNullable<T>?

lastIndexOf Cooper

 

method lastIndexOf(arg1: Object): not nullable Integer

 

Integer! lastIndexOf(Object arg1)

 

func lastIndexOf(_ arg1: Object) -> Integer

 

Integer lastIndexOf(Object arg1)

 

Function lastIndexOf(arg1 As Object) As Integer

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<T> lazy { __get; }

 

ReadOnly Property lazy() As IEnumerable<not nullable T>

listIterator Cooper

 

method listIterator: ListIterator<not nullable T>

 

ListIterator<T!> listIterator()

 

func listIterator() -> ListIterator<T>

 

ListIterator<T> listIterator()

 

Function listIterator() As ListIterator<T>

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)

 

Function listIterator(arg1 As Integer) As ListIterator<T>

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<U> map<U>(Func2<T, U> transform)

 

Function map<U>(transform As Func (Of not nullable T, not nullable U)) As IEnumerable<not nullable U>

Parameters:

  • transform:

nativeArray  virtual

 

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

 

T![]! nativeArray { get; }

 

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

 

T[] nativeArray { __get; }

 

ReadOnly Property nativeArray() As T()

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

 

not ArrayList<T> platformList { __get; }

 

// .NET, .NET Standard 2.0
ReadOnly Property platformList() As List<T>
// Island
ReadOnly Property platformList() As List<not nullable T>

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)

 

Function remove at(index As Int) As T

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)

 

Function remove(arg1 As Integer) As T

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)

 

Function remove(arg1 As Object) As Bool

Parameters:

  • arg1:

remove (T)  virtual

 

method remove(object: T)

 

void remove(T object)

 

func remove(_ object: T)

 

void remove(T object)

 

Sub remove(object As T)

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)

 

Function removeAll(arg1 As Collection<Object>) As Bool

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)

 

Sub removeAll keepCapacity(keepCapacity As Bool)

Parameters:

  • keepCapacity:

removeLast  virtual

 

method removeLast: T

 

T removeLast()

 

func removeLast() -> T

 

T removeLast()

 

Function removeLast() As T

replaceAll Cooper

 

method replaceAll(arg1: UnaryOperator<T>)

 

void replaceAll(UnaryOperator<T> arg1)

 

func replaceAll(_ arg1: UnaryOperator<T>)

 

void replaceAll(UnaryOperator<T> arg1)

 

Sub replaceAll(arg1 As UnaryOperator<T>)

Parameters:

  • arg1:

reserveCapacity  virtual

 

method reserveCapacity(minimumCapacity: not nullable Int)

 

void reserveCapacity(Int! minimumCapacity)

 

func reserveCapacity(_ minimumCapacity: Int)

 

void reserveCapacity(Int minimumCapacity)

 

Sub reserveCapacity(minimumCapacity As Int)

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)

 

Function retainAll(arg1 As Collection<Object>) As Bool

Parameters:

  • arg1:

reverse  virtual

 

method reverse

 

void reverse()

 

func reverse()

 

void reverse()

 

Sub reverse()

reversed  virtual

 

method reversed: not nullable Array<not nullable T>

 

Array<not nullable T>! reversed()

 

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

 

Array<T> reversed()

 

Function reversed() As Array<not nullable T>

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)

 

Function set(arg1 As Integer, value As T) As T

Parameters:

  • arg1:
  • value:

size Cooper

 

method size: not nullable Integer

 

Integer! size()

 

func size() -> Integer

 

Integer size()

 

Function size() As Integer

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<T, T, Boolean> isOrderedBefore)

 

Sub sort by(isOrderedBefore As Func (Of not nullable T, not nullable T, not nullable Bool))

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)

 

Sub sort(arg1 As Comparator<Object>)

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<T> sorted by(Func3<T, T, Boolean> isOrderedBefore)

 

Function sorted by(isOrderedBefore As Func (Of not nullable T, not nullable T, not nullable Bool)) As Array<not nullable T>

Parameters:

  • isOrderedBefore:

spliterator Cooper

 

method spliterator: Spliterator<not nullable T>

 

Spliterator<T!> spliterator()

 

func spliterator() -> Spliterator<T>

 

Spliterator<T> spliterator()

 

Function spliterator() As Spliterator<T>

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)

 

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

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)

 

Sub swapAt(i As Int, j As Int)

Parameters:

  • i:
  • j:

toArray Cooper

 

method toArray: not nullable array of Object

 

Object[]! toArray()

 

func toArray() -> Object...

 

Object[] toArray()

 

Function toArray() As Object()

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)

 

Function toArray<T>(arg1 As T()) As T()

Parameters:

  • arg1:

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

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

 

Function ToString() As String

 

capacity  virtual

 

property capacity: not nullable Int read;

 

Int! capacity { get; }

 

var capacity: Int { get{} }

 

Int capacity { __get; }

 

ReadOnly Property capacity() As Int

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

 

ReadOnly Property first() As GenericNullable<T>?

isEmpty  virtual

 

property isEmpty: not nullable Bool read;

 

Bool! isEmpty { get; }

 

var isEmpty: Bool { get{} }

 

Bool isEmpty { __get; }

 

ReadOnly Property isEmpty() As Bool

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

 

Property Item(index As Int) As T

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<T> Item[Range range] { __get; }

 

ReadOnly Property Item(range As Range) As Array<not nullable T>

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

 

ReadOnly Property last() As GenericNullable<T>?

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<T> lazy { __get; }

 

ReadOnly Property lazy() As IEnumerable<not nullable T>

nativeArray  virtual

 

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

 

T![]! nativeArray { get; }

 

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

 

T[] nativeArray { __get; }

 

ReadOnly Property nativeArray() As T()

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

 

not ArrayList<T> platformList { __get; }

 

// .NET, .NET Standard 2.0
ReadOnly Property platformList() As List<T>
// Island
ReadOnly Property platformList() As List<not nullable T>

 

constructor

 

constructor

 

Array<T>()

 

init()

 

Array<T>()

 

Sub New()

constructor (Array<T>) Cooper

 

constructor(value: Array<T>)

 

Array<T>(Array<T> value)

 

init(_ value: Array<T>)

 

Array<T>(Array<T> value)

 

Sub New(value As Array<T>)

Parameters:

  • value:

constructor (not nullable Array<not nullable T>)

 

constructor(items: not nullable Array<not nullable T>)

 

Array<T>(Array<not nullable T>! items)

 

init(_ items: Array<not nullable T>)

 

Array<T>(Array<T> items)

 

Sub New(items As Array<not nullable T>)

Parameters:

  • items:

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

 

init(_ list: NSArray<T>)

Parameters:

  • list:

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<T> sequence)

 

Sub New(sequence As Iterable<not nullable T>)

Parameters:

  • sequence:

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>(not ArrayList<T> list)

 

Sub New(list As ArrayList<T>)

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>)

 

Sub New(list As List<not nullable T>)

Parameters:

  • list:

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

 

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

 

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

 

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

 

Sub New(sequence As IEnumerable<not nullable T>)

Parameters:

  • sequence:

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

 

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

Parameters:

  • sequence:

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>)

 

Sub New(sequence As IEnumerable<not nullable T>)

Parameters:

  • sequence:

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>)

 

Sub New(list As List<T>)

Parameters:

  • list:

constructor withArrayLiteral(array of T)

 

constructor withArrayLiteral(params array: array of T)

 

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

 

init(withArrayLiteral array: T...)

 

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

 

Sub New withArrayLiteral(ParamArray array As T())

Parameters:

  • array:

constructor withCapacity(not nullable Int)

 

constructor withCapacity(capacity: not nullable Int)

 

Array<T> withCapacity(Int! capacity)

 

init(withCapacity capacity: Int)

 

Array<T> withCapacity(Int capacity)

 

Sub New withCapacity(capacity As Int)

Parameters:

  • capacity:

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

 

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)

 

Sub New withRepeating(value As T) count(count As Int)

Parameters:

  • value:
  • count:

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)

 

Sub add(arg1 As Integer, arg2 As T)

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)

 

Function add(arg1 As T) As Bool

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)

 

Function addAll(arg1 As Collection<T>) As Bool

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)

 

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

Parameters:

  • arg1:
  • arg2:

append  virtual

 

method append(newElement: T)

 

void append(T newElement)

 

func append(_ newElement: T)

 

void append(T newElement)

 

Sub append(newElement As T)

Parameters:

  • newElement:

clear Cooper

 

method clear

 

void clear()

 

func clear()

 

void clear()

 

Sub clear()

clone Cooper

 

method clone: Object

 

Object clone()

 

func clone() -> Object

 

Object clone()

 

Function clone() As Object

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)

 

Function contains(item As T) As Bool

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)

 

Function contains(arg1 As Object) As Bool

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)

 

Function containsAll(arg1 As Collection<T>) As Bool

Parameters:

  • arg1:

description  override

 

method description: not nullable String

 

String! description()

 

func description() -> String

 

String description()

 

Function description() As String

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 tuple of (not nullable Int, not nullable T)>! enumerated()
// .NET Standard 2.0
IEnumerable<not nullable ValueTuple<not nullable Int!, T>>! enumerated()

 

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

 

Iterable<Tuple2<Long, T>> enumerated()

 

// .NET, Island
Function enumerated() As IEnumerable<not nullable Tuple (Of not nullable Int, not nullable T)>
// .NET Standard 2.0
Function enumerated() As IEnumerable<not nullable ValueTuple<not nullable Int, not nullable T>>

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)

 

Function Equals(other As Object) As Bool

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<T> array)

 

Sub extend(array As Array<not nullable T>)

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<T> sequence)

 

Sub extend(sequence As IEnumerable<not nullable T>)

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>

 

Function filter(includeElement As Func (Of not nullable T, not nullable Bool)) As IEnumerable<not nullable T>

Parameters:

  • includeElement:

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

 

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

 

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

 

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

 

Iterable<T> filter(Func2<T, Boolean> includeElement)

 

Function filter(includeElement As Func (Of not nullable T, not nullable Boolean)) As Iterable<not nullable T>

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)

 

Function get(arg1 As Integer) As T

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>

 

// .NET, .NET Standard 2.0
Function GetEnumerator() As IEnumerator<T>
// Island
Function GetEnumerator() As 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<T> GetSequence()

 

Function GetSequence() As IEnumerable<not nullable T>

hashCode Cooper

 

method hashCode: not nullable Integer

 

Integer! hashCode()

 

func hashCode() -> Integer

 

Integer hashCode()

 

Function hashCode() As Integer

indexOf Cooper

 

method indexOf(arg1: Object): not nullable Integer

 

Integer! indexOf(Object arg1)

 

func indexOf(_ arg1: Object) -> Integer

 

Integer indexOf(Object arg1)

 

Function indexOf(arg1 As Object) As Integer

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)

 

Sub insert(newElement As T) at(index As Int)

Parameters:

  • newElement:
  • index:

isEmpty Cooper

 

method isEmpty: not nullable Bool

 

Bool! isEmpty()

 

func isEmpty() -> Bool

 

Bool isEmpty()

 

Function isEmpty() As Bool

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

 

Function iterator() As Iterator<T>

lastIndexOf Cooper

 

method lastIndexOf(arg1: Object): not nullable Integer

 

Integer! lastIndexOf(Object arg1)

 

func lastIndexOf(_ arg1: Object) -> Integer

 

Integer lastIndexOf(Object arg1)

 

Function lastIndexOf(arg1 As Object) As Integer

Parameters:

  • arg1:

listIterator Cooper

 

method listIterator: ListIterator<not nullable T>

 

ListIterator<T!> listIterator()

 

func listIterator() -> ListIterator<T>

 

ListIterator<T> listIterator()

 

Function listIterator() As ListIterator<T>

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)

 

Function listIterator(arg1 As Integer) As ListIterator<T>

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<U> map<U>(Func2<T, U> transform)

 

Function map<U>(transform As Func (Of not nullable T, not nullable U)) As IEnumerable<not nullable U>

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)

 

Function remove at(index As Int) As T

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)

 

Function remove(arg1 As Integer) As T

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)

 

Function remove(arg1 As Object) As Bool

Parameters:

  • arg1:

remove (T)  virtual

 

method remove(object: T)

 

void remove(T object)

 

func remove(_ object: T)

 

void remove(T object)

 

Sub remove(object As T)

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)

 

Function removeAll(arg1 As Collection<Object>) As Bool

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)

 

Sub removeAll keepCapacity(keepCapacity As Bool)

Parameters:

  • keepCapacity:

removeLast  virtual

 

method removeLast: T

 

T removeLast()

 

func removeLast() -> T

 

T removeLast()

 

Function removeLast() As T

replaceAll Cooper

 

method replaceAll(arg1: UnaryOperator<T>)

 

void replaceAll(UnaryOperator<T> arg1)

 

func replaceAll(_ arg1: UnaryOperator<T>)

 

void replaceAll(UnaryOperator<T> arg1)

 

Sub replaceAll(arg1 As UnaryOperator<T>)

Parameters:

  • arg1:

reserveCapacity  virtual

 

method reserveCapacity(minimumCapacity: not nullable Int)

 

void reserveCapacity(Int! minimumCapacity)

 

func reserveCapacity(_ minimumCapacity: Int)

 

void reserveCapacity(Int minimumCapacity)

 

Sub reserveCapacity(minimumCapacity As Int)

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)

 

Function retainAll(arg1 As Collection<Object>) As Bool

Parameters:

  • arg1:

reverse  virtual

 

method reverse

 

void reverse()

 

func reverse()

 

void reverse()

 

Sub reverse()

reversed  virtual

 

method reversed: not nullable Array<not nullable T>

 

Array<not nullable T>! reversed()

 

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

 

Array<T> reversed()

 

Function reversed() As Array<not nullable T>

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)

 

Function set(arg1 As Integer, value As T) As T

Parameters:

  • arg1:
  • value:

size Cooper

 

method size: not nullable Integer

 

Integer! size()

 

func size() -> Integer

 

Integer size()

 

Function size() As Integer

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<T, T, Boolean> isOrderedBefore)

 

Sub sort by(isOrderedBefore As Func (Of not nullable T, not nullable T, not nullable Bool))

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)

 

Sub sort(arg1 As Comparator<Object>)

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<T> sorted by(Func3<T, T, Boolean> isOrderedBefore)

 

Function sorted by(isOrderedBefore As Func (Of not nullable T, not nullable T, not nullable Bool)) As Array<not nullable T>

Parameters:

  • isOrderedBefore:

spliterator Cooper

 

method spliterator: Spliterator<not nullable T>

 

Spliterator<T!> spliterator()

 

func spliterator() -> Spliterator<T>

 

Spliterator<T> spliterator()

 

Function spliterator() As Spliterator<T>

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)

 

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

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)

 

Sub swapAt(i As Int, j As Int)

Parameters:

  • i:
  • j:

toArray Cooper

 

method toArray: not nullable array of Object

 

Object[]! toArray()

 

func toArray() -> Object...

 

Object[] toArray()

 

Function toArray() As Object()

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)

 

Function toArray<T>(arg1 As T()) As T()

Parameters:

  • arg1:

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

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

 

Function ToString() As String