Class FloatBigLists.EmptyBigList

All Implemented Interfaces:
BigList<Float>, FloatBigList, FloatCollection, FloatIterable, Size64, Serializable, Cloneable, Comparable<BigList<? extends Float>>, Iterable<Float>, Collection<Float>
Enclosing class:
FloatBigLists

public static class FloatBigLists.EmptyBigList
extends FloatCollections.EmptyCollection
implements FloatBigList, Serializable, Cloneable
An immutable class representing an empty type-specific big list.

This class may be useful to implement your own in case you subclass a type-specific list.

See Also:
Serialized Form
  • Method Summary

    Modifier and Type Method Description
    void add​(long index, float k)
    Inserts the specified element at the specified position in this type-specific big list (optional operation).
    void add​(long index, Float k)
    Deprecated.
    Please use the corresponding type-specific method instead.
    boolean add​(Float k)
    Deprecated.
    Please use the corresponding type-specific method instead.
    boolean addAll​(long i, FloatBigList c)
    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 i, FloatCollection 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 i, Collection<? extends Float> c)
    Inserts all of the elements in the specified collection into this big list at the specified position (optional operation).
    boolean addAll​(FloatBigList c)
    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​(FloatCollection c)
    Adds all elements of the given type-specific collection to this collection.
    void addElements​(long index, float[][] a)
    Add (hopefully quickly) elements to this type-specific big list.
    void addElements​(long index, float[][] a, long offset, long length)
    Add (hopefully quickly) elements to this type-specific big list.
    Object clone()  
    int compareTo​(BigList<? extends Float> o)  
    boolean equals​(Object o)  
    Float get​(long i)
    Deprecated.
    Please use the corresponding type-specific method instead.
    void getElements​(long from, float[][] a, long offset, long length)
    Copies (hopefully quickly) elements of this type-specific big list into the given big array.
    float getFloat​(long i)
    Returns the element at the specified position.
    int hashCode()  
    long indexOf​(float 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 k)
    Deprecated.
    Please use the corresponding type-specific method instead.
    FloatBigListIterator iterator()
    Returns a type-specific iterator on the elements of this collection.
    long lastIndexOf​(float 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 k)
    Deprecated.
    Please use the corresponding type-specific method instead.
    FloatBigListIterator listIterator()
    Returns a type-specific big-list iterator on this type-specific big list.
    FloatBigListIterator listIterator​(long i)
    Returns a type-specific list iterator on this type-specific big list starting at a given index.
    boolean rem​(float k)
    Removes a single instance of the specified element from this collection, if it is present (optional operation).
    Float remove​(long k)
    Deprecated.
    Please use the corresponding type-specific method instead.
    void removeElements​(long from, long to)
    Removes (hopefully quickly) elements of this type-specific big list.
    float removeFloat​(long i)
    Removes the element at the specified position.
    float set​(long index, float k)
    Replaces the element at the specified position in this big list with the specified element (optional operation).
    Float set​(long index, Float k)
    Deprecated.
    Please use the corresponding type-specific method instead.
    void size​(long s)
    Sets the size of this big list.
    long size64()
    Returns the size of this data structure as a long.
    FloatBigList 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.
    String toString()  

    Methods inherited from class it.unimi.dsi.fastutil.floats.FloatCollections.EmptyCollection

    addAll, clear, contains, removeAll, removeAll, retainAll, retainAll, size, toArray

    Methods inherited from class it.unimi.dsi.fastutil.floats.AbstractFloatCollection

    add, contains, containsAll, remove, toArray, toFloatArray, toFloatArray

    Methods inherited from class java.util.AbstractCollection

    containsAll, isEmpty, toArray

    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.floats.FloatCollection

    add, contains, contains, containsAll, remove, removeAll, removeIf, removeIf, retainAll, toArray, toFloatArray, toFloatArray

    Methods inherited from interface it.unimi.dsi.fastutil.floats.FloatIterable

    forEach, forEach

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

    size