Primitives array list
Jodd provides array lists functionality for all primitives. The following methods are supported:
add
adds new elements to the end or on specified position.
clear
clears all array elements.
contains
returns true if list contain an element.
get
and set
returns and sets value to specific position.
indexOf
and lastIndexOf
return indexes of founded elements.
remove
and removeRange
removes one or more elements from the list.
size
and isEmpty
returns information about size.
trimToSize
trims the capacity of this instance to be the list's current size.
ensureCapacity
increases the capacity of list.
toArray
returns native array.