Package it.unimi.dsi.fastutil.booleans
Class BooleanLists.UnmodifiableRandomAccessList
- java.lang.Object
-
- it.unimi.dsi.fastutil.booleans.BooleanCollections.UnmodifiableCollection
-
- it.unimi.dsi.fastutil.booleans.BooleanLists.UnmodifiableList
-
- it.unimi.dsi.fastutil.booleans.BooleanLists.UnmodifiableRandomAccessList
-
- All Implemented Interfaces:
BooleanCollection,BooleanIterable,BooleanList,Serializable,Comparable<List<? extends Boolean>>,Iterable<Boolean>,Collection<Boolean>,List<Boolean>,RandomAccess
- Enclosing class:
- BooleanLists
public static class BooleanLists.UnmodifiableRandomAccessList extends BooleanLists.UnmodifiableList implements RandomAccess, Serializable
An unmodifiable wrapper class for random-access lists.- See Also:
- Serialized Form
-
-
Method Summary
Modifier and Type Method Description BooleanListsubList(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.booleans.BooleanLists.UnmodifiableList
add, add, addAll, addAll, addAll, addAll, addElements, addElements, compareTo, equals, get, getBoolean, getElements, hashCode, indexOf, indexOf, iterator, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, removeBoolean, removeElements, set, set, size
-
Methods inherited from class it.unimi.dsi.fastutil.booleans.BooleanCollections.UnmodifiableCollection
add, add, addAll, addAll, clear, contains, contains, containsAll, containsAll, isEmpty, rem, remove, removeAll, removeAll, retainAll, retainAll, size, toArray, toArray, toArray, toBooleanArray, toBooleanArray, toString
-
Methods inherited from interface it.unimi.dsi.fastutil.booleans.BooleanCollection
addAll, contains, containsAll, rem, removeAll, retainAll, toArray, toBooleanArray, toBooleanArray
-
Methods inherited from interface it.unimi.dsi.fastutil.booleans.BooleanIterable
forEach, forEach
-
Methods inherited from interface it.unimi.dsi.fastutil.booleans.BooleanList
add, add, contains, remove
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
addAll, clear, containsAll, isEmpty, removeAll, replaceAll, retainAll, size, sort, spliterator, toArray, toArray
-
-
-
-
Method Detail
-
subList
public BooleanList subList(int from, int to)
Description copied from interface:BooleanListReturns 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 interfaceBooleanList- Specified by:
subListin interfaceList<Boolean>- Overrides:
subListin classBooleanLists.UnmodifiableList- See Also:
List.subList(int,int)
-
-