LinkedList
EXTENSION
LinkedList
Swift
1extension LinkedList: Equatable where T: EquatableProperties
startIndex
Swift
1public var startIndex: IntendIndex
Swift
1public var endIndex: Intcount
Swift
1public var count: IntisEmpty
Swift
1public var isEmpty: BooldebugDescription
Swift
1public var debugDescription: StringMethods
==(_:_:)
Swift
1public static func == (lhs: LinkedList<T>, rhs: LinkedList<T>) -> BoolParameters
| Name | Description |
|---|---|
| lhs | A value to compare. |
| rhs | Another value to compare. |
hash(into:)
Swift
1public func hash(into hasher: inout Hasher)Parameters
| Name | Description |
|---|---|
| hasher | The hasher to use when combining the components of this instance. |
node(at:)
Swift
1public func node(at position: Int) -> Nodeindex(after:)
Swift
1public func index(after i: Int) -> IntParameters
| Name | Description |
|---|---|
| i | A valid index of the collection. i must be less than endIndex. |
makeIterator()
Swift
1public func makeIterator() -> Iterator