mirror of
https://github.com/apple/swift-collections
synced 2026-11-29 05:14:20 +00:00
[Capsule] Remove redundant MapNode protocol overrides
This commit is contained in:
1 parent
da5b426998
commit
e246bd5cbc
1 file changed
-12
@@ -20,16 +20,4 @@ protocol MapNode : Node {
|
||||
func updated(_ isStorageKnownUniquelyReferenced: Bool, _ key: Key, _ value: Value, _ hash: Int, _ shift: Int, _ effect: inout MapEffect) -> ReturnNode
|
||||
|
||||
func removed(_ isStorageKnownUniquelyReferenced: Bool, _ key: Key, _ hash: Int, _ shift: Int, _ effect: inout MapEffect) -> ReturnNode
|
||||
|
||||
var hasNodes: Bool { get }
|
||||
|
||||
var nodeArity: Int { get }
|
||||
|
||||
func getNode(_ index: Int) -> ReturnNode
|
||||
|
||||
var hasPayload: Bool { get }
|
||||
|
||||
var payloadArity: Int { get }
|
||||
|
||||
func getPayload(_ index: Int) -> ReturnPayload /* (Key, Value) */
|
||||
}
|
||||
Reference in new issue
Block a user