SwiftDataStructures Docs (35% documented)

SwiftDataStructures Reference List Extension Reference

List

Undocumented

  • Undocumented

  • This method is simply an alias for append(), included for ExtensibleCollectionType conformance.

    Declaration

    Swift

    public mutating func append(newElement:Element)
  • Element order is [front, …, back], as if one were to iterate through the sequence in forward order, calling append(element) on each element.

    Declaration

    Swift

    public mutating func extend<S : SequenceType where S.Generator.Element == Element>(sequence: S)
  • Element order is [front, …, back], as if one were to iterate through the sequence in forward order, calling list.append(element) on each element.

    Declaration

    Swift

    public init(arrayLiteral elements: Element...)