Array

E427888

Array is a fundamental Swift collection type that stores an ordered, indexable list of values of the same type.

All labels observed (1)

Label Occurrences
Array canonical 1

How this entity was disambiguated

Statements (49)

Predicate Object
instanceOf generic collection type
struct
value type
conformsTo BidirectionalCollection
Collection
Decodable where Element : Decodable
Encodable where Element : Encodable
Equatable where Element : Equatable
ExpressibleByArrayLiteral NERFINISHED
Hashable where Element : Hashable
MutableCollection
RandomAccessCollection NERFINISHED
RangeReplaceableCollection NERFINISHED
Sequence
copySemantics copy-on-write optimization
definedIn Swift Standard Library NERFINISHED
elementTypeConstraint Element is unconstrained
genericParameter Element
hasInitializer Array()
Array(_:) from a sequence
Array(repeating:count:)
hasProperty contiguous storage in most implementations
elements have the same type
indexable by integer indices
zero-based indexing
indexType Int
language Swift NERFINISHED
literalSyntax [element1, element2, ...]
mutability immutable when declared with let
mutable when declared with var
stores ordered list of values
supportsOperation append contentsOf another sequence
append element
contains
filter
first and last accessors
forEach
insert at index
map
prefix and suffix operations
reduce
remove at index
removeAll
removeLast
reserveCapacity
sort in place
sorted returning new array
subscript access by index
usedFor ordered collections of homogeneous values in Swift

How these facts were elicited

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.