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.
Zitieren als
Dimitri Shvorob (2026). Use a hash table (https://de.mathworks.com/matlabcentral/fileexchange/20876-use-a-hash-table), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Language Fundamentals > Data Types > Structures >
- MATLAB > Language Fundamentals > Data Types > Cell Arrays >
- MATLAB > Language Fundamentals > Data Types > Dictionaries >
Tags
Quellenangaben
Inspiriert von: Simle Hashtable
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
@Hashtable/
@Hashtable/private/
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.0.0.0 | minor change
|