Package it.unimi.dsi.fastutil.ints
Class IntLists.SynchronizedRandomAccessList
- java.lang.Object
-
- it.unimi.dsi.fastutil.ints.IntCollections.SynchronizedCollection
-
- it.unimi.dsi.fastutil.ints.IntLists.SynchronizedList
-
- it.unimi.dsi.fastutil.ints.IntLists.SynchronizedRandomAccessList
-
- All Implemented Interfaces:
IntCollection
,IntIterable
,IntList
,java.io.Serializable
,java.lang.Comparable<java.util.List<? extends java.lang.Integer>>
,java.lang.Iterable<java.lang.Integer>
,java.util.Collection<java.lang.Integer>
,java.util.List<java.lang.Integer>
,java.util.RandomAccess
- Enclosing class:
- IntLists
public static class IntLists.SynchronizedRandomAccessList extends IntLists.SynchronizedList implements java.util.RandomAccess, java.io.Serializable
A synchronized wrapper class for random-access lists.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntList
subList(int from, int to)
Returns a type-specific view of the portion of this list from the indexfrom
, inclusive, to the indexto
, exclusive.-
Methods inherited from class it.unimi.dsi.fastutil.ints.IntLists.SynchronizedList
add, add, addAll, addAll, addAll, addAll, addElements, addElements, compareTo, equals, get, getElements, getInt, hashCode, indexOf, indexOf, iterator, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, removeElements, removeInt, set, set, size
-
Methods inherited from class it.unimi.dsi.fastutil.ints.IntCollections.SynchronizedCollection
add, add, addAll, addAll, clear, contains, contains, containsAll, containsAll, isEmpty, rem, remove, removeAll, removeAll, removeIf, retainAll, retainAll, size, toArray, toArray, toArray, toIntArray, toIntArray, toString
-
Methods inherited from interface it.unimi.dsi.fastutil.ints.IntCollection
addAll, contains, containsAll, rem, removeAll, removeIf, removeIf, retainAll, toArray, toIntArray, toIntArray
-
Methods inherited from interface it.unimi.dsi.fastutil.ints.IntIterable
forEach, forEach
-
-
-
-
Method Detail
-
subList
public IntList subList(int from, int to)
Description copied from interface:IntList
Returns 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:
subList
in interfaceIntList
- Specified by:
subList
in interfacejava.util.List<java.lang.Integer>
- Overrides:
subList
in classIntLists.SynchronizedList
- See Also:
List.subList(int,int)
-
-