This document describes how to implement HashMap in a block coding manner.
▶Definition of hashmap
- HashMap is a data structure consisting of Key, the unique address value of the data, and Value
▶HashMap Block
- It introduces the blocks registered in the HashMap category of SyncTree NBlock.
1) HashMap
- Used to create (declare) a HashMap data structure.
- Connect a Pair or Document Pair block to Values.
- Click the ⚙️ button to add or remove Value items
- Below is an example of the HashMap block declaration.
2) Get HashMap Variable
- Use to bring the entire HashMap, or the Value of a specific Key.