The removeRange() method is a protected support method used by ArrayList.Unless you subclass ArrayList, you'll never use it directly: protected void removeRange(int fromIndex, int toIndex)