- All Superinterfaces:
Collection<Long>
,Iterable<Long>
,List<Long>
,LongCollection
- All Known Implementing Classes:
LongArrayList
,SortedLongArrayList
A List that stores things using
long[]
instead of Object[]
. null values are not supported.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(int index, long element) long
getLong
(int index) int
indexOf
(long elem) int
lastIndexOf
(long elem) long
removeAtIndex
(int index) long
set
(int index, long element) Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
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
Methods inherited from interface com.aoapps.collections.LongCollection
add, contains, removeByValue, toArrayLong
-
Method Details
-
indexOf
int indexOf(long elem) -
lastIndexOf
int lastIndexOf(long elem) -
getLong
long getLong(int index) -
set
long set(int index, long element) -
add
void add(int index, long element) -
removeAtIndex
long removeAtIndex(int index)
-