PriorityQueueIndexer
public protocol PriorityQueueIndexer
Indexes from Key to Value.
See also
IndexProtocol.
Note
this is intentionally distinct fromIndexProtocol, in order to statically disallow
PriorityQueue’s reprioritization APIs when using a NonIndexingPriorityQueueIndexer indexer.
-
The key used to store and retrieve data.
Declaration
Swift
associatedtype Key -
The data we intend to store.
Declaration
Swift
associatedtype Value -
Accesses the
Valueassociated withkey.
View on GitHub
PriorityQueueIndexer Protocol Reference