Class Hashtable offers Matlab users access to the hash table data structure.
The class allows multiple key-value pairs specified in 'get', 'put' and 'remove' methods, using cell arrays to collect inputs and outputs, and offers vector forms of 'iskey' and 'isvalue', as well as the option to initialize a hash table with an initial key/value set.
Note that Java's involvement limits the range of types that can be stored in a Hashtable instance.
引用格式
Dimitri Shvorob (2024). Use a hash table (https://www.mathworks.com/matlabcentral/fileexchange/20876-use-a-hash-table), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- MATLAB > Language Fundamentals > Data Types > Structures >
- MATLAB > Language Fundamentals > Data Types > Cell Arrays >
- MATLAB > Language Fundamentals > Data Types > Dictionaries >
标签
致谢
参考作品: Simle Hashtable
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!@Hashtable/
@Hashtable/private/
版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 | minor change
|