Stack
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Appends an element to the bottom of the stack. Included for
ExtensibleCollectionType
conformance.Declaration
Swift
public mutating func append(newElement:Element)
-
Element order is [top, …, bottom], as if one were to iterate through the sequence in reverse, calling
stack.append(element)
on each element.Declaration
Swift
public mutating func extend<S : SequenceType where S.Generator.Element == Element>(sequence: S)
-
Element order is [top, …, bottom], as if one were to iterate through the sequence in reverse, calling
stack.push(element)
on each element.Declaration
Swift
public init(arrayLiteral elements: Element...)
-
Undocumented
-
Undocumented