An Array is a type of data structure that contains an arbitrary list of items or can be empty. In the context of Resonite, it is a type of collection that would represent a value or a reference within the Data Model, and each item inside the array is the same type within (i.e. An int array of 5 items, each item is also an int that is stored within it).
Arrays can themselves hold arrays, this is known as a 2D array, but an array like this is still bound to the rules of what a regular array would be (i.e. int array[][]
has to hold an item that is an int array[]
). This can allow you to build even larger arrays and collections, but be careful not to get confused while building complexities like this.
See Also
- The complete computer science term of arrays on Wikipedia.