mirror of
https://github.com/apple/swift-collections
synced 2026-11-28 05:04:21 +00:00
[Capsule] Add underestimatedCount
This commit is contained in:
1 parent
042d2ebe2e
commit
d9877e25cc
1 file changed
+2
@@ -52,6 +52,8 @@ public struct HashMap<Key, Value> where Key: Hashable {
|
||||
|
||||
public var count: Int { cachedSize }
|
||||
|
||||
public var underestimatedCount: Int { cachedSize }
|
||||
|
||||
public var capacity: Int { count }
|
||||
|
||||
///
|
||||
|
||||
Reference in new issue
Block a user