- All Superinterfaces:
Collection<Integer>
,IntCollection
,Iterable<Integer>
,List<Integer>
- All Known Implementing Classes:
IntArrayList
,SortedIntArrayList
A List that stores things using
int[]
instead of Object[]
. null values are not supported.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(int index, int element) int
getInt
(int index) int
indexOf
(int elem) int
lastIndexOf
(int elem) int
removeAtIndex
(int index) int
set
(int index, int element) Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface com.aoapps.collections.IntCollection
add, contains, removeByValue, toArrayInt
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
Method Details
-
indexOf
int indexOf(int elem) -
lastIndexOf
int lastIndexOf(int elem) -
getInt
int getInt(int index) -
set
int set(int index, int element) -
add
void add(int index, int element) -
removeAtIndex
int removeAtIndex(int index)
-