Package it.unimi.dsi.fastutil.longs
Class LongLists.SynchronizedRandomAccessList
- java.lang.Object
-
- it.unimi.dsi.fastutil.longs.LongCollections.SynchronizedCollection
-
- it.unimi.dsi.fastutil.longs.LongLists.SynchronizedList
-
- it.unimi.dsi.fastutil.longs.LongLists.SynchronizedRandomAccessList
-
- All Implemented Interfaces:
LongCollection,LongIterable,LongList,Serializable,Comparable<List<? extends Long>>,Iterable<Long>,Collection<Long>,List<Long>,RandomAccess
- Enclosing class:
- LongLists
public static class LongLists.SynchronizedRandomAccessList extends LongLists.SynchronizedList implements RandomAccess, Serializable
A synchronized wrapper class for random-access lists.- See Also:
- Serialized Form
-
-
Method Summary
-
Methods inherited from class it.unimi.dsi.fastutil.longs.LongLists.SynchronizedList
add, add, addAll, addAll, addAll, addAll, addElements, addElements, compareTo, equals, get, getElements, getLong, hashCode, indexOf, indexOf, iterator, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, removeElements, removeLong, set, set, size
-
Methods inherited from class it.unimi.dsi.fastutil.longs.LongCollections.SynchronizedCollection
add, add, addAll, addAll, clear, contains, contains, containsAll, containsAll, isEmpty, rem, remove, removeAll, removeAll, removeIf, retainAll, retainAll, size, toArray, toArray, toArray, toLongArray, toLongArray, toString
-
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
Methods inherited from interface java.util.List
addAll, clear, containsAll, isEmpty, removeAll, replaceAll, retainAll, size, sort, spliterator, toArray, toArray
-
Methods inherited from interface it.unimi.dsi.fastutil.longs.LongCollection
addAll, contains, containsAll, rem, removeAll, removeIf, removeIf, retainAll, toArray, toLongArray, toLongArray
-
Methods inherited from interface it.unimi.dsi.fastutil.longs.LongIterable
forEach, forEach
-
-
-
-
Method Detail
-
subList
public LongList subList(int from, int to)
Description copied from interface:LongListReturns a type-specific view of the portion of this list from the indexfrom, inclusive, to the indexto, exclusive.Note that this specification strengthens the one given in
List.subList(int,int).- Specified by:
subListin interfaceList<Long>- Specified by:
subListin interfaceLongList- Overrides:
subListin classLongLists.SynchronizedList- See Also:
List.subList(int,int)
-
-