-
- All Superinterfaces:
Collection<Long>,Iterable<Long>,List<Long>,LongCollection
- All Known Implementing Classes:
LongArrayList,SortedLongArrayList
public interface LongList extends LongCollection, List<Long>
A List that stores things usinglong[]instead ofObject[]. null values are not supported.- See Also:
ArrayList
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd(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, 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
-
-