structs/ArrayList

class ArrayList<T>
extends:List<T>
static method newArrayList<T>
method init
static method new~withCapacity(capacity: Int)ArrayList<T>
method init~withCapacity(capacity: Int)
static method new~withData(data: T *, size: Int)ArrayList<T>
method init~withData(data: T *, size: Int)
method add(element: T)
method add~withIndex(index: Int, element: T)
method clear
method get(index: Int) → T
method indexOf(element: T)Int
method lastIndexOf(element: T)Int
method removeAt(index: Int) → T
method remove(element: T)Bool
Removes a single instance of the specified element from this list, if it is present (optional operation). @return true if at least one occurence of the element has been removed
method set(index: Int, element: T) → T
Replaces the element at the specified position in this list with the specified element.
method sizeInt
@return the number of elements in this list.
method ensureCapacity(newSize: Int)
Increases the capacity of this ArrayList instance, if necessary, to ensure that it can hold at least the number of elements specified by the minimum capacity argument.
method grow
private
method checkIndex(index: Int)
private
method iteratorIterator<T>
method cloneArrayList<T>
method toArrayPointer
data → T *
capacityInt
sizeInt
class ArrayListIterator<T>
extends:Iterator<T>
static method new~iter(list: ArrayList<T>)ArrayListIterator<T>
method init~iter(list: ArrayList<T>)
method hasNextBool
method next → T
method hasPrevBool
method prev → T
method removeBool
listArrayList<T>
indexInt

This Page