Queue
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
This method is simply an alias for
enqueue()
, included forExtensibleCollectionType
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
enqueue(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
queue.enqueue(element)
on each element.Declaration
Swift
public init(arrayLiteral elements: Element...)