Class gxe.util.ArrayList
				
				
			
				Simulates some methods associated with an ArrayList data structure.
				
				
					
Defined in:  gxe.js.
				
			
| Constructor Attributes | Constructor Name and Description | 
|---|---|
| Method Attributes | Method Name and Description | 
|---|---|
| add(obj)
								 Appends an object to the collection (same as push()). | |
| getItem(nIndex)
								 Gets the item at the specified index. | |
| Gets the length of the array. | |
| insertAt(nIndex, obj)
								 Inserts an object at a specified index. | |
| push(obj)
								 Appends an object to the collection. | |
| removeIndex(nIndex)
								 Removes the object at the specified index from the collection. | |
| swapPosition(nFromIndex, nToIndex)
								 Swaps the positions of two objects within the collection. | 
					Method Detail
				
				
					 
					
					
					
					add(obj)
					
					
					
						Appends an object to the collection (same as push()).
						
						
					
					
					
					
						
							- Parameters:
- {Object} obj
- the object to add
					
					{Object}
					getItem(nIndex)
					
					
					
						Gets the item at the specified index.
						
						
					
					
					
					
						
							- Parameters:
- {Integer} nIndex
- the index
- Returns:
- {Object} the corresponding object
					
					{Integer}
					getLength()
					
					
					
						Gets the length of the array.
						
						
					
					
					
					
						
						
						
						
						
							- Returns:
- {Integer} the length
					
					
					insertAt(nIndex, obj)
					
					
					
						Inserts an object at a specified index.
						
						
					
					
					
					
						
							- Parameters:
- {Integer} nIndex
- the index (same as JavaScript Array.splice)
- {Object} obj
- the object to insert
					
					
					push(obj)
					
					
					
						Appends an object to the collection.
						
						
					
					
					
					
						
							- Parameters:
- {Object} obj
- the object to add
					
					
					removeIndex(nIndex)
					
					
					
						Removes the object at the specified index from the collection.
						
						
					
					
					
					
						
							- Parameters:
- {Integer} nIndex
- the index of the object to remove
					
					
					swapPosition(nFromIndex, nToIndex)
					
					
					
						Swaps the positions of two objects within the collection.
						
						
					
					
					
					
						
							- Parameters:
- {Integer} nFromIndex
- the from index
- {Integer} nToIndex
- the to index