Class BooleanBigLists.UnmodifiableBigList

java.lang.Object
it.unimi.dsi.fastutil.booleans.BooleanBigLists.UnmodifiableBigList
All Implemented Interfaces:
BigList<Boolean>, BooleanBigList, BooleanCollection, BooleanIterable, Size64, Serializable, Comparable<BigList<? extends Boolean>>, Iterable<Boolean>, Collection<Boolean>
Enclosing class:
BooleanBigLists

public static class BooleanBigLists.UnmodifiableBigList
extends Object
implements BooleanBigList, Serializable
An unmodifiable wrapper class for big lists.
See Also:
Serialized Form
  • Method Summary

    Modifier and Type Method Description
    boolean add​(boolean k)
    Ensures that this collection contains the specified element (optional operation).
    void add​(long i, boolean k)
    Inserts the specified element at the specified position in this type-specific big list (optional operation).
    void add​(long i, Boolean k)
    Deprecated.
    Please use the corresponding type-specific method instead.
    boolean add​(Boolean k)
    Deprecated.
    boolean addAll​(long index, BooleanBigList l)
    Inserts all of the elements in the specified type-specific big list into this type-specific big list at the specified position (optional operation).
    boolean addAll​(long index, BooleanCollection c)
    Inserts all of the elements in the specified type-specific collection into this type-specific big list at the specified position (optional operation).
    boolean addAll​(long index, Collection<? extends Boolean> c)
    Inserts all of the elements in the specified collection into this big list at the specified position (optional operation).
    boolean addAll​(BooleanBigList l)
    Appends all of the elements in the specified type-specific big list to the end of this type-specific big list (optional operation).
    boolean addAll​(BooleanCollection c)
    Adds all elements of the given type-specific collection to this collection.
    boolean addAll​(Collection<? extends Boolean> c)  
    void addElements​(long index, boolean[][] a)
    Add (hopefully quickly) elements to this type-specific big list.
    void addElements​(long index, boolean[][] a, long offset, long length)
    Add (hopefully quickly) elements to this type-specific big list.
    void clear()  
    int compareTo​(BigList<? extends Boolean> o)  
    boolean contains​(boolean o)
    Returns true if this collection contains the specified element.
    boolean contains​(Object k)
    Deprecated.
    boolean containsAll​(BooleanCollection c)
    Checks whether this collection contains all elements from the given type-specific collection.
    boolean containsAll​(Collection<?> c)  
    boolean equals​(Object o)  
    void forEach​(BooleanConsumer action)
    Performs the given action for each element of this type-specific Iterable until all elements have been processed or the action throws an exception.
    Boolean get​(long i)
    Deprecated.
    Please use the corresponding type-specific method instead.
    boolean getBoolean​(long i)
    Returns the element at the specified position.
    void getElements​(long from, boolean[][] a, long offset, long length)
    Copies (hopefully quickly) elements of this type-specific big list into the given big array.
    int hashCode()  
    long indexOf​(boolean k)
    Returns the index of the first occurrence of the specified element in this type-specific big list, or -1 if this big list does not contain the element.
    long indexOf​(Object o)
    Deprecated.
    Please use the corresponding type-specific method instead.
    boolean isEmpty()  
    BooleanBigListIterator iterator()
    Returns a type-specific iterator on the elements of this collection.
    long lastIndexOf​(boolean k)
    Returns the index of the last occurrence of the specified element in this type-specific big list, or -1 if this big list does not contain the element.
    long lastIndexOf​(Object o)
    Deprecated.
    Please use the corresponding type-specific method instead.
    BooleanBigListIterator listIterator()
    Returns a type-specific big-list iterator on this type-specific big list.
    BooleanBigListIterator listIterator​(long i)
    Returns a type-specific list iterator on this type-specific big list starting at a given index.
    Stream<Boolean> parallelStream()  
    boolean rem​(boolean k)
    Removes a single instance of the specified element from this collection, if it is present (optional operation).
    Boolean remove​(long i)
    Deprecated.
    Please use the corresponding type-specific method instead.
    boolean remove​(Object k)
    Deprecated.
    boolean removeAll​(BooleanCollection c)
    Remove from this collection all elements in the given type-specific collection.
    boolean removeAll​(Collection<?> c)  
    boolean removeBoolean​(long i)
    Removes the element at the specified position.
    void removeElements​(long from, long to)
    Removes (hopefully quickly) elements of this type-specific big list.
    boolean removeIf​(BooleanPredicate filter)
    Remove from this collection all elements which satisfy the given predicate.
    boolean retainAll​(BooleanCollection c)
    Retains in this collection only elements from the given type-specific collection.
    boolean retainAll​(Collection<?> c)  
    boolean set​(long i, boolean k)
    Replaces the element at the specified position in this big list with the specified element (optional operation).
    Boolean set​(long index, Boolean k)
    Deprecated.
    Please use the corresponding type-specific method instead.
    int size()  
    void size​(long size)
    Deprecated.
    long size64()
    Returns the size of this data structure as a long.
    BooleanSpliterator spliterator()
    Returns a type-specific spliterator on the elements of this collection.
    Stream<Boolean> stream()  
    BooleanBigList subList​(long from, long to)
    Returns a type-specific view of the portion of this type-specific big list from the index from, inclusive, to the index to, exclusive.
    Object[] toArray()  
    boolean[] toArray​(boolean[] a)
    Returns an array containing all of the elements in this collection; the runtime type of the returned array is that of the specified array.
    <T> T[] toArray​(T[] a)  
    boolean[] toBooleanArray()
    Returns a primitive type array containing the items of this collection.
    boolean[] toBooleanArray​(boolean[] a)
    Deprecated.
    String toString()  

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface it.unimi.dsi.fastutil.BigList

    size

    Methods inherited from interface it.unimi.dsi.fastutil.booleans.BooleanBigList

    addAll, addAll, setElements, setElements, setElements, spliterator

    Methods inherited from interface it.unimi.dsi.fastutil.booleans.BooleanCollection

    add, add, addAll, contains, contains, containsAll, rem, remove, removeAll, removeIf, removeIf, retainAll, toArray, toBooleanArray, toBooleanArray

    Methods inherited from interface it.unimi.dsi.fastutil.booleans.BooleanIterable

    forEach, forEach

    Methods inherited from interface java.util.Collection

    addAll, clear, containsAll, isEmpty, parallelStream, removeAll, retainAll, stream, toArray, toArray, toArray