Struct SwiftDictionary<TKey, TValue>.Entry
- Namespace
- SwiftCollections
- Assembly
- SwiftCollections.dll
Represents a single key-value pair in the dictionary, including its hash code for quick access.
protected struct SwiftDictionary<TKey, TValue>.Entry
- Inherited Members
Fields
HashCode
Gets or sets the lower 31 bits of the hash code associated with this entry.
public int HashCode
Field Value
Remarks
A value of -1 indicates that the entry is a deleted probe tombstone. Only the lower 31 bits are used; the highest bit is reserved.
IsUsed
Indicates whether the item is currently in use.
public bool IsUsed
Field Value
Key
Gets or sets the key associated with this instance.
public TKey Key
Field Value
- TKey
Value
Gets or sets the value associated with this instance.
public TValue Value
Field Value
- TValue