Interface ChangeAwareList<E>

    • Method Detail

      • remove

        void remove​(int from,
                    int to)
        Removes the elements within the given range. Behaves like sublist(from, to).clear() but can be implemented more efficient.
        Parameters:
        from - the start index of the range to remove (inclusive).
        to - the end index of the range to remove (exclusive).
        Throws:
        IndexOutOfBoundsException - if an illegal range is provided.