Properties
| Name | Access | Type | Description |
|---|---|---|---|
| Capacity | Read, Write | Number | Capacity |
| Count | Read | Number | Count |
| IsFixedSize | Read | Boolean | Is Fixed Size |
| IsReadOnly | Read | Boolean | Is Read Only |
| IsSynchronized | Read | Boolean | Is Synchronized |
Methods
Clear
Velocity
$arrayList.Clear()
JavaScript
arrayList.Clear();
Returns
NothingRemoveAt
Velocity
$arrayList.RemoveAt($index)
JavaScript
arrayList.RemoveAt(index);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| index | Number | Index | Required |
Returns
NothingRemoveRange
Velocity
$arrayList.RemoveRange($index, $count)
JavaScript
arrayList.RemoveRange(index, count);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| index | Number | Index | Required | ||
| count | Number | Count | Required |
Returns
NothingReverse
Reverse Overload 1
Velocity
$arrayList.Reverse()
JavaScript
arrayList.Reverse();
Reverse Overload 2
Velocity
$arrayList.Reverse($index, $count)
JavaScript
arrayList.Reverse(index, count);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| index | Number | Index | Required | ||
| count | Number | Count | Required |
Returns
NothingSort
Velocity
$arrayList.Sort()
JavaScript
arrayList.Sort();
Returns
NothingToString
Velocity
#set($stringResponse = $arrayList.ToString())
JavaScript
var stringResponse = arrayList.ToString();
Returns
TrimToSize
Velocity
$arrayList.TrimToSize()
JavaScript
arrayList.TrimToSize();