LinkedList
public struct LinkedList<ELEMENT>
extension LinkedList: Sequence
extension LinkedList: Collection
extension LinkedList: MutableCollection
extension LinkedList: BidirectionalCollection
extension LinkedList: RangeReplaceableCollection
extension LinkedList: ExpressibleByArrayLiteral
extension LinkedList: CustomStringConvertible
extension LinkedList: Equatable where ELEMENT: Equatable
Undocumented
-
Declaration
Swift
public private(set) var count: Int { get }
-
Declaration
Swift
public init()
-
Declaration
Swift
init<S>(_ sequence: S) where ELEMENT == S.Element, S : Sequence
-
Undocumented
Declaration
Swift
var head: Element? { get }
-
Undocumented
Declaration
Swift
var tail: Element? { get }
-
Undocumented
Declaration
Swift
public typealias ELEMENT = Element
-
Declaration
Swift
public func makeIterator() -> Iterator
-
Declaration
Swift
public struct Iterator : IteratorProtocol
-
Undocumented
Declaration
Swift
mutating func prepend(_ newElement: Element)
-
Undocumented
Declaration
Swift
mutating func prepend<S>(contentsOf newElements: S) where ELEMENT == S.Element, S : Sequence
-
Undocumented
Declaration
Swift
@discardableResult mutating func popFirst() -> Element?
-
Undocumented
Declaration
Swift
@discardableResult mutating func popLast() -> Element?
-
Undocumented
Declaration
Swift
public var last: Element? { get }
-
Declaration
Swift
public mutating func append<S>(contentsOf newElements: S) where ELEMENT == S.Element, S : Sequence
-
Declaration
Swift
public typealias ArrayLiteralElement = Element
-
Declaration
Swift
public init(arrayLiteral elements: ArrayLiteralElement...)
-
Declaration
Swift
public var description: String { get }