Interface ReferenceBigList<K>

    • Method Detail

      • listIterator

        ObjectBigListIterator<K> listIterator​(long index)
        Returns a type-specific list iterator on this type-specific big list starting at a given index.

        Note that this specification strengthens the one given in BigList.listIterator(long).

        Specified by:
        listIterator in interface BigList<K>
        Parameters:
        index - index of first element to be returned from the big-list iterator.
        Returns:
        a big-list iterator of the elements in this big list, starting at the specified position in this big list.
        See Also:
        BigList.listIterator(long)
      • subList

        ReferenceBigList<K> 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.

        Note that this specification strengthens the one given in BigList.subList(long,long).

        Specified by:
        subList in interface BigList<K>
        Parameters:
        from - the starting element (inclusive).
        to - the ending element (exclusive).
        Returns:
        a big sublist view of this big list.
        See Also:
        BigList.subList(long,long)
      • getElements

        void getElements​(long from,
                         Object[][] a,
                         long offset,
                         long length)
        Copies (hopefully quickly) elements of this type-specific big list into the given big array.
        Parameters:
        from - the start index (inclusive).
        a - the destination big array.
        offset - the offset into the destination big array where to store the first element copied.
        length - the number of elements to be copied.
      • removeElements

        void removeElements​(long from,
                            long to)
        Removes (hopefully quickly) elements of this type-specific big list.
        Parameters:
        from - the start index (inclusive).
        to - the end index (exclusive).
      • addElements

        void addElements​(long index,
                         K[][] a)
        Add (hopefully quickly) elements to this type-specific big list.
        Parameters:
        index - the index at which to add elements.
        a - the big array containing the elements.
      • addElements

        void addElements​(long index,
                         K[][] a,
                         long offset,
                         long length)
        Add (hopefully quickly) elements to this type-specific big list.
        Parameters:
        index - the index at which to add elements.
        a - the big array containing the elements.
        offset - the offset of the first element to add.
        length - the number of elements to add.