This document describes how to implement ArrayList in a block coding manner.
▶Definition of ArrayList
- ArrayList is a data structure that uses continuous memory space to have data.
▶ArrayList Block
- Introduces the blocks entered the ArrayList category of SyncTree NBlock.
1) ArrayList
- Used to create (declare) an ArrayList data structure.
- In Values, various values are put in depending on the data type or data structure (HashMap, Array, etc.)
- Click the ⚙️ button to add or remove Value items.
- Below is an example of the ArrayList block declaration.
2) Get Array Variable