- 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 TypeMethodDescriptionvoidadd(int index, long element) longgetLong(int index) intindexOf(long elem) intlastIndexOf(long elem) longremoveAtIndex(int index) longset(int index, long element) Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods 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, toArrayMethods 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)
-
