-
Notifications
You must be signed in to change notification settings - Fork 0
InMemoryNode
ratranqu edited this page Apr 7, 2021
·
2 revisions
public final class InMemoryNode<Key: Comparable & Codable & DataProtocol & InitialisableProtocol, Value: Codable & DataProtocol & InitialisableProtocol, Hasher: HasherProtocol>: NodeProtocol
public typealias Hash = Hasher.Hash
public required init(key: Key, value: Value, version: Int64)
public required init(key: Key, left: InMemoryNode<Key, Value, Hasher>, right: InMemoryNode<Key, Value, Hasher>, version: Int64)
var key: Key
let version: Int64
let hash: Hash
var isEmpty: Bool
var value: Value?
var inner: (height: Int8, size: Int64, left: InMemoryNode<Key, Value, Hasher>, right: InMemoryNode<Key, Value, Hasher>)?
var description: String
public static func empty() -> InMemoryNode<Key, Value, Hasher>
Generated at 2021-04-20T11:34:45+0000 using swift-doc 1.0.0-beta.5.