- 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 TypeMethodDescriptionvoidadd(int index, int element) intgetInt(int index) intindexOf(int elem) intlastIndexOf(int elem) intremoveAtIndex(int index) intset(int index, int element) Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface com.aoapps.collections.IntCollection
add, contains, removeByValue, toArrayIntMethods 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)
-
