An ArrayUtil is a dynamic array-like data structure that can store elements of any type. Conceptually, it behaves like an array but with additional functionalities and flexibility.
Methods
ArrayUtils.empty(<T>) -> Array<T>: Returns new empty array of type T.
add(value: T): Adds a value to the array.
set(index: Integer, value: T): Sets the value of the element at the given index.
remove(index: Integer): Removes the value in the array at index.
size() -> Integer: returns the size of the array.
clear(): Clears the array removing all it's values.
A map represented as HashMap<Object, Object>, is a collection that associates unique keys with corresponding values, facilitating efficient retrieval and modification of data based on key references.
HashMaps are especially useful for defining a row in SuiteTable
Syntax
A { followed by zero or more sets of key : value pairs separated by , and ending with }, e.g. { "one" : 1, "two" : 2, "three" : 3, "more": "many more" }