LinkedList
public struct LinkedList<T> : CustomStringConvertible
A LinkedList utility implementation for tracking item nodes.
-
The default init.
Declaration
Swift
public init() -
Declaration
Swift
public var isEmpty: Bool { get }Return Value
A
Boolindicating if theLinkedListis empty. -
Property for the first item in the
LinkedList.Declaration
Swift
public var first: Node<T>? { get } -
Adds a new element of type
to the end of this LinkedList.Declaration
Swift
public mutating func append(_ value: T)Parameters
valueThe object of type T to append to the
LinkedList. -
Property describing the
LinkedList.Declaration
Swift
public var description: String { get }
View on GitHub
LinkedList Structure Reference