Array<T>
Overview
Location
-
Reference:
- Silver.dll .NET, .NET Standard 2.0
- silver.jar Cooper
- Silver.fx Island
- libSilver.fx Toffee
- Namespace: Swift
-
Ancestry:
constructor .NET, .NET Standard 2.0, Cooper, Island
constructor
Array<T>()
init()
Array<T>()
Sub New()
constructor .() Toffee
init(. )
Parameters:
- :
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>(Swift.Array<T> items)
Sub New(items As Array<not nullable T>)
Parameters:
- items:
constructor (not nullable List<not nullable T>)
// .NET, .NET Standard 2.0
constructor(list: not nullable List<not nullable T>)
// Island
constructor(list: not nullable List<not nullable T>)
// .NET, .NET Standard 2.0
Array<T>(List<not nullable T>! list)
// Island
Array<T>(List<not nullable T>! list)
init(_ list: NSArray<not nullable T>)
Array<T>(ArrayList<T> list)
// .NET, .NET Standard 2.0
Sub New(list As List<not nullable T>)
// Island
Sub New(list As List<not nullable T>)
Parameters:
- list:
constructor (not nullable IEnumerable<not nullable T>)
constructor(sequence: not nullable IEnumerable<not nullable T>)
Array<T>(IEnumerable<not nullable T>! sequence)
init(_ sequence: INSFastEnumeration<not nullable T>)
Array<T>(Iterable<T> sequence)
Sub New(sequence As IEnumerable<not nullable T>)
Parameters:
- sequence:
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 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 withCopy(not nullable Array<not nullable T>)
constructor withCopy(var original: not nullable Array<not nullable T>)
Array<T> withCopy(ref Array<not nullable T>! original)
init(withCopy original: Array<not nullable T>)
Array<T> withCopy(__ref Swift.Array<T> original)
Sub New withCopy(ByRef original As Array<not nullable T>)
Parameters:
- original:
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:
constructor withSequence(not nullable IEnumerable<not nullable T>)
constructor withSequence(sequence: not nullable IEnumerable<not nullable T>)
Array<T> withSequence(IEnumerable<not nullable T>! sequence)
init(withSequence sequence: INSFastEnumeration<not nullable T>)
Array<T> withSequence(Iterable<T> sequence)
Sub New withSequence(sequence As 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)
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 (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<not nullable T> arg2)
func addAll(_ arg1: Integer, _ arg2: Collection<not nullable T>) -> Bool
Bool addAll(Integer arg1, Collection<T> arg2)
Function addAll(arg1 As Integer, arg2 As Collection<not nullable T>) As Bool
Parameters:
- arg1:
- arg2:
addAll (Collection<not nullable T>): not nullable Bool Cooper
method addAll(arg1: Collection<not nullable T>): not nullable Bool
Bool! addAll(Collection<not nullable T> arg1)
func addAll(_ arg1: Collection<not nullable T>) -> Bool
Bool addAll(Collection<T> arg1)
Function addAll(arg1 As Collection<not nullable T>) As Bool
Parameters:
- arg1:
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 (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:
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:
containsAll Cooper
method containsAll(arg1: Collection<not nullable T>): not nullable Bool
Bool! containsAll(Collection<not nullable T> arg1)
func containsAll(_ arg1: Collection<not nullable T>) -> Bool
Bool containsAll(Collection<T> arg1)
Function containsAll(arg1 As Collection<not nullable 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 virtual .NET, .NET Standard 2.0, Cooper, Island
method description: not nullable NativeString
NativeString! description()
func description() -> NativeString
NativeString description()
Function description() As NativeString
description description(): NativeString override Toffee
func description(description ) -> NativeString
Parameters:
- :
enumerated virtual .NET, .NET Standard 2.0, Cooper, Island
method enumerated: not nullable IEnumerable<not nullable tuple of (not nullable Int, not nullable T)>
IEnumerable<not nullable tuple of (not nullable Int, not nullable T)>! enumerated()
func enumerated() -> IEnumerable<not nullable (not nullable Int, not nullable T)>
Function enumerated() As IEnumerable<not nullable tuple of (not nullable Int, not nullable T)>
enumerated enumerated(): not nullable INSFastEnumeration<not nullable tuple of (not nullable nullable Int64, not nullable T)> virtual Toffee
// Toffee-iOS, Toffee-iOS Simulator, Toffee-Mac Catalyst, Toffee-macOS, Toffee-tvOS, Toffee-tvOS Simulator, Toffee-watchOS Simulator
func enumerated(enumerated ) -> INSFastEnumeration<not nullable (not nullable nullable Int64, not nullable T)>
// Toffee-watchOS
func enumerated(enumerated ) -> INSFastEnumeration<not nullable (not nullable nullable Int32, not nullable T)>
Parameters:
- :
equals Cooper
method equals(arg1: Object): not nullable Bool
Bool! equals(Object arg1)
func equals(_ arg1: Object) -> Bool
Bool equals(Object arg1)
Function equals(arg1 As Object) As Bool
Parameters:
- arg1:
Equals .NET, .NET Standard 2.0
method Equals(other: Object): not nullable Bool
Bool! Equals(Object other)
func Equals(_ other: Object) -> Bool
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(Swift.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 virtual
method filter(includeElement: not nullable Func<not nullable T, not nullable Bool>): not nullable IEnumerable<not nullable T>
IEnumerable<not nullable T>! filter(Func<not nullable T, not nullable Bool>! includeElement)
func filter(_ includeElement: (T) -> Bool) -> INSFastEnumeration<not nullable T>
Function filter(includeElement As Func (Of T, Bool)) As IEnumerable<not nullable T>
Parameters:
- includeElement:
first virtual
property first: nullable T read;
T? first { get; }
var first: T? { get{} }
T first { __get; }
ReadOnly Property first() As 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<not nullable T> GetEnumerator()
// Island
IEnumerator<not nullable T> GetEnumerator()
// .NET, .NET Standard 2.0
func GetEnumerator() -> IEnumerator<not nullable T>
// Island
func GetEnumerator() -> IEnumerator<not nullable T>
// .NET, .NET Standard 2.0
Function GetEnumerator() As IEnumerator<not nullable T>
// Island
Function GetEnumerator() As IEnumerator<not nullable T>
GetSequence virtual .NET, .NET Standard 2.0, Cooper, Island
method GetSequence: not nullable IEnumerable<not nullable T>
IEnumerable<not nullable T>! GetSequence()
func GetSequence() -> IEnumerable<not nullable T>
Iterable<T> GetSequence()
Function GetSequence() As IEnumerable<not nullable T>
GetSequence GetSequence(): not nullable INSFastEnumeration<not nullable T> virtual Toffee
func GetSequence(GetSequence ) -> INSFastEnumeration<not nullable T>
Parameters:
- :
hashCode Cooper
method hashCode: not nullable Integer
Integer! hashCode()
func hashCode() -> Integer
Integer hashCode()
Function hashCode() As Integer
indexOf Cooper
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[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{} }
Swift.Array<T> Item[Range range] { __get; }
ReadOnly Property Item(range As Range) As Array<not nullable T>
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
iterator Cooper
method iterator: Iterator<not nullable T>
Iterator<not nullable T> iterator()
func iterator() -> Iterator<not nullable T>
Iterator<T> iterator()
Function iterator() As Iterator<not nullable T>
last virtual
property last: nullable T read;
T? last { get; }
var last: T? { get{} }
T last { __get; }
ReadOnly Property last() As T?
lastIndexOf Cooper
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<not nullable T> listIterator()
func listIterator() -> ListIterator<not nullable T>
ListIterator<T> listIterator()
Function listIterator() As ListIterator<not nullable T>
listIterator (not nullable Integer): ListIterator<not nullable T> Cooper
method listIterator(arg1: not nullable Integer): ListIterator<not nullable T>
ListIterator<not nullable T> listIterator(Integer! arg1)
func listIterator(_ arg1: Integer) -> ListIterator<not nullable T>
ListIterator<T> listIterator(Integer arg1)
Function listIterator(arg1 As Integer) As ListIterator<not nullable 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<not nullable T, not nullable 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 T, 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 List<not nullable T> read;
// Island
property platformList: not nullable List<not nullable T> read;
// .NET, .NET Standard 2.0
List<not nullable T>! platformList { get; }
// Island
List<not nullable T>! platformList { get; }
// .NET, .NET Standard 2.0
var platformList: List<not nullable T> { get{} }
// Island
var platformList: List<not nullable T> { get{} }
// Toffee
var platformList: NSMutableArray<not nullable T> { get{} }
ArrayList<T> platformList { __get; }
// .NET, .NET Standard 2.0
ReadOnly Property platformList() As List<not nullable T>
// Island
ReadOnly Property platformList() As List<not nullable T>
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:
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:
removeAll (Collection<not nullable Object>): not nullable Bool Cooper
method removeAll(arg1: Collection<not nullable Object>): not nullable Bool
Bool! removeAll(Collection<not nullable Object> arg1)
func removeAll(_ arg1: Collection<not nullable Object>) -> Bool
Bool removeAll(Collection<Object> arg1)
Function removeAll(arg1 As Collection<not nullable 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 .NET, .NET Standard 2.0, Cooper, Island
method removeLast: T
T removeLast()
func removeLast() -> T
T removeLast()
Function removeLast() As T
removeLast removeLast(): T virtual Toffee
func removeLast(removeLast ) -> T
Parameters:
- :
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<not nullable Object> arg1)
func retainAll(_ arg1: Collection<not nullable Object>) -> Bool
Bool retainAll(Collection<Object> arg1)
Function retainAll(arg1 As Collection<not nullable Object>) As Bool
Parameters:
- arg1:
reverse virtual .NET, .NET Standard 2.0, Cooper, Island
method reverse
void reverse()
func reverse()
void reverse()
Sub reverse()
reverse reverse() virtual Toffee
func reverse(reverse )
Parameters:
- :
reversed virtual .NET, .NET Standard 2.0, Cooper, Island
method reversed: not nullable Array<not nullable T>
Array<not nullable T>! reversed()
func reversed() -> Array<not nullable T>
Swift.Array<T> reversed()
Function reversed() As Array<not nullable T>
reversed reversed(): not nullable Array<not nullable T> virtual Toffee
func reversed(reversed ) -> Array<not nullable T>
Parameters:
- :
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 (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:
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<not nullable T, not nullable T, not nullable Bool>! isOrderedBefore)
func sort(by isOrderedBefore: (T, T) -> Bool)
void sort by(Func3<T, T, Boolean> isOrderedBefore)
Sub sort by(isOrderedBefore As Func (Of T, T, Bool))
Parameters:
- isOrderedBefore:
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<not nullable T, not nullable T, not nullable Bool>! isOrderedBefore)
func sorted(by isOrderedBefore: (T, T) -> Bool) -> Array<not nullable T>
Swift.Array<T> sorted by(Func3<T, T, Boolean> isOrderedBefore)
Function sorted by(isOrderedBefore As Func (Of T, T, Bool)) As Array<not nullable T>
Parameters:
- isOrderedBefore:
spliterator Cooper
method spliterator: Spliterator<not nullable T>
Spliterator<not nullable T> spliterator()
func spliterator() -> Spliterator<not nullable T>
Spliterator<T> spliterator()
Function spliterator() As Spliterator<not nullable T>
subList Cooper
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 Cooper
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 T read;
T? first { get; }
var first: T? { get{} }
T first { __get; }
ReadOnly Property first() As 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[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{} }
Swift.Array<T> Item[Range range] { __get; }
ReadOnly Property Item(range As Range) As Array<not nullable T>
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
last virtual
property last: nullable T read;
T? last { get; }
var last: T? { get{} }
T last { __get; }
ReadOnly Property last() As 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 List<not nullable T> read;
// Island
property platformList: not nullable List<not nullable T> read;
// .NET, .NET Standard 2.0
List<not nullable T>! platformList { get; }
// Island
List<not nullable T>! platformList { get; }
// .NET, .NET Standard 2.0
var platformList: List<not nullable T> { get{} }
// Island
var platformList: List<not nullable T> { get{} }
// Toffee
var platformList: NSMutableArray<not nullable T> { get{} }
ArrayList<T> platformList { __get; }
// .NET, .NET Standard 2.0
ReadOnly Property platformList() As List<not nullable T>
// Island
ReadOnly Property platformList() As List<not nullable T>
constructor .NET, .NET Standard 2.0, Cooper, Island
constructor
Array<T>()
init()
Array<T>()
Sub New()
constructor .() Toffee
init(. )
Parameters:
- :
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>(Swift.Array<T> items)
Sub New(items As Array<not nullable T>)
Parameters:
- items:
constructor (not nullable List<not nullable T>)
// .NET, .NET Standard 2.0
constructor(list: not nullable List<not nullable T>)
// Island
constructor(list: not nullable List<not nullable T>)
// .NET, .NET Standard 2.0
Array<T>(List<not nullable T>! list)
// Island
Array<T>(List<not nullable T>! list)
init(_ list: NSArray<not nullable T>)
Array<T>(ArrayList<T> list)
// .NET, .NET Standard 2.0
Sub New(list As List<not nullable T>)
// Island
Sub New(list As List<not nullable T>)
Parameters:
- list:
constructor (not nullable IEnumerable<not nullable T>)
constructor(sequence: not nullable IEnumerable<not nullable T>)
Array<T>(IEnumerable<not nullable T>! sequence)
init(_ sequence: INSFastEnumeration<not nullable T>)
Array<T>(Iterable<T> sequence)
Sub New(sequence As IEnumerable<not nullable T>)
Parameters:
- sequence:
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 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 withCopy(not nullable Array<not nullable T>)
constructor withCopy(var original: not nullable Array<not nullable T>)
Array<T> withCopy(ref Array<not nullable T>! original)
init(withCopy original: Array<not nullable T>)
Array<T> withCopy(__ref Swift.Array<T> original)
Sub New withCopy(ByRef original As Array<not nullable T>)
Parameters:
- original:
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:
constructor withSequence(not nullable IEnumerable<not nullable T>)
constructor withSequence(sequence: not nullable IEnumerable<not nullable T>)
Array<T> withSequence(IEnumerable<not nullable T>! sequence)
init(withSequence sequence: INSFastEnumeration<not nullable T>)
Array<T> withSequence(Iterable<T> sequence)
Sub New withSequence(sequence As 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)
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 (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<not nullable T> arg2)
func addAll(_ arg1: Integer, _ arg2: Collection<not nullable T>) -> Bool
Bool addAll(Integer arg1, Collection<T> arg2)
Function addAll(arg1 As Integer, arg2 As Collection<not nullable T>) As Bool
Parameters:
- arg1:
- arg2:
addAll (Collection<not nullable T>): not nullable Bool Cooper
method addAll(arg1: Collection<not nullable T>): not nullable Bool
Bool! addAll(Collection<not nullable T> arg1)
func addAll(_ arg1: Collection<not nullable T>) -> Bool
Bool addAll(Collection<T> arg1)
Function addAll(arg1 As Collection<not nullable T>) As Bool
Parameters:
- arg1:
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 (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:
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:
containsAll Cooper
method containsAll(arg1: Collection<not nullable T>): not nullable Bool
Bool! containsAll(Collection<not nullable T> arg1)
func containsAll(_ arg1: Collection<not nullable T>) -> Bool
Bool containsAll(Collection<T> arg1)
Function containsAll(arg1 As Collection<not nullable T>) As Bool
Parameters:
- arg1:
description virtual .NET, .NET Standard 2.0, Cooper, Island
method description: not nullable NativeString
NativeString! description()
func description() -> NativeString
NativeString description()
Function description() As NativeString
description description(): NativeString override Toffee
func description(description ) -> NativeString
Parameters:
- :
enumerated virtual .NET, .NET Standard 2.0, Cooper, Island
method enumerated: not nullable IEnumerable<not nullable tuple of (not nullable Int, not nullable T)>
IEnumerable<not nullable tuple of (not nullable Int, not nullable T)>! enumerated()
func enumerated() -> IEnumerable<not nullable (not nullable Int, not nullable T)>
Function enumerated() As IEnumerable<not nullable tuple of (not nullable Int, not nullable T)>
enumerated enumerated(): not nullable INSFastEnumeration<not nullable tuple of (not nullable nullable Int64, not nullable T)> virtual Toffee
// Toffee-iOS, Toffee-iOS Simulator, Toffee-Mac Catalyst, Toffee-macOS, Toffee-tvOS, Toffee-tvOS Simulator, Toffee-watchOS Simulator
func enumerated(enumerated ) -> INSFastEnumeration<not nullable (not nullable nullable Int64, not nullable T)>
// Toffee-watchOS
func enumerated(enumerated ) -> INSFastEnumeration<not nullable (not nullable nullable Int32, not nullable T)>
Parameters:
- :
equals Cooper
method equals(arg1: Object): not nullable Bool
Bool! equals(Object arg1)
func equals(_ arg1: Object) -> Bool
Bool equals(Object arg1)
Function equals(arg1 As Object) As Bool
Parameters:
- arg1:
Equals .NET, .NET Standard 2.0
method Equals(other: Object): not nullable Bool
Bool! Equals(Object other)
func Equals(_ other: Object) -> Bool
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(Swift.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 virtual
method filter(includeElement: not nullable Func<not nullable T, not nullable Bool>): not nullable IEnumerable<not nullable T>
IEnumerable<not nullable T>! filter(Func<not nullable T, not nullable Bool>! includeElement)
func filter(_ includeElement: (T) -> Bool) -> INSFastEnumeration<not nullable T>
Function filter(includeElement As Func (Of T, Bool)) As IEnumerable<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<not nullable T> GetEnumerator()
// Island
IEnumerator<not nullable T> GetEnumerator()
// .NET, .NET Standard 2.0
func GetEnumerator() -> IEnumerator<not nullable T>
// Island
func GetEnumerator() -> IEnumerator<not nullable T>
// .NET, .NET Standard 2.0
Function GetEnumerator() As IEnumerator<not nullable T>
// Island
Function GetEnumerator() As IEnumerator<not nullable T>
GetSequence virtual .NET, .NET Standard 2.0, Cooper, Island
method GetSequence: not nullable IEnumerable<not nullable T>
IEnumerable<not nullable T>! GetSequence()
func GetSequence() -> IEnumerable<not nullable T>
Iterable<T> GetSequence()
Function GetSequence() As IEnumerable<not nullable T>
GetSequence GetSequence(): not nullable INSFastEnumeration<not nullable T> virtual Toffee
func GetSequence(GetSequence ) -> INSFastEnumeration<not nullable T>
Parameters:
- :
hashCode Cooper
method hashCode: not nullable Integer
Integer! hashCode()
func hashCode() -> Integer
Integer hashCode()
Function hashCode() As Integer
indexOf Cooper
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<not nullable T> iterator()
func iterator() -> Iterator<not nullable T>
Iterator<T> iterator()
Function iterator() As Iterator<not nullable T>
lastIndexOf Cooper
Parameters:
- arg1:
listIterator Cooper
method listIterator: ListIterator<not nullable T>
ListIterator<not nullable T> listIterator()
func listIterator() -> ListIterator<not nullable T>
ListIterator<T> listIterator()
Function listIterator() As ListIterator<not nullable T>
listIterator (not nullable Integer): ListIterator<not nullable T> Cooper
method listIterator(arg1: not nullable Integer): ListIterator<not nullable T>
ListIterator<not nullable T> listIterator(Integer! arg1)
func listIterator(_ arg1: Integer) -> ListIterator<not nullable T>
ListIterator<T> listIterator(Integer arg1)
Function listIterator(arg1 As Integer) As ListIterator<not nullable 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<not nullable T, not nullable 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 T, U)) As IEnumerable<not nullable U>
Parameters:
- transform:
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:
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:
removeAll (Collection<not nullable Object>): not nullable Bool Cooper
method removeAll(arg1: Collection<not nullable Object>): not nullable Bool
Bool! removeAll(Collection<not nullable Object> arg1)
func removeAll(_ arg1: Collection<not nullable Object>) -> Bool
Bool removeAll(Collection<Object> arg1)
Function removeAll(arg1 As Collection<not nullable 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 .NET, .NET Standard 2.0, Cooper, Island
method removeLast: T
T removeLast()
func removeLast() -> T
T removeLast()
Function removeLast() As T
removeLast removeLast(): T virtual Toffee
func removeLast(removeLast ) -> T
Parameters:
- :
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<not nullable Object> arg1)
func retainAll(_ arg1: Collection<not nullable Object>) -> Bool
Bool retainAll(Collection<Object> arg1)
Function retainAll(arg1 As Collection<not nullable Object>) As Bool
Parameters:
- arg1:
reverse virtual .NET, .NET Standard 2.0, Cooper, Island
method reverse
void reverse()
func reverse()
void reverse()
Sub reverse()
reverse reverse() virtual Toffee
func reverse(reverse )
Parameters:
- :
reversed virtual .NET, .NET Standard 2.0, Cooper, Island
method reversed: not nullable Array<not nullable T>
Array<not nullable T>! reversed()
func reversed() -> Array<not nullable T>
Swift.Array<T> reversed()
Function reversed() As Array<not nullable T>
reversed reversed(): not nullable Array<not nullable T> virtual Toffee
func reversed(reversed ) -> Array<not nullable T>
Parameters:
- :
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 (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:
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<not nullable T, not nullable T, not nullable Bool>! isOrderedBefore)
func sort(by isOrderedBefore: (T, T) -> Bool)
void sort by(Func3<T, T, Boolean> isOrderedBefore)
Sub sort by(isOrderedBefore As Func (Of T, T, Bool))
Parameters:
- isOrderedBefore:
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<not nullable T, not nullable T, not nullable Bool>! isOrderedBefore)
func sorted(by isOrderedBefore: (T, T) -> Bool) -> Array<not nullable T>
Swift.Array<T> sorted by(Func3<T, T, Boolean> isOrderedBefore)
Function sorted by(isOrderedBefore As Func (Of T, T, Bool)) As Array<not nullable T>
Parameters:
- isOrderedBefore:
spliterator Cooper
method spliterator: Spliterator<not nullable T>
Spliterator<not nullable T> spliterator()
func spliterator() -> Spliterator<not nullable T>
Spliterator<T> spliterator()
Function spliterator() As Spliterator<not nullable T>
subList Cooper
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 Cooper