Vector class protected void removeRange(int fromIndex,int toIndex)
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   karan_oberai
Posted On:   Monday, October 8, 2001 05:02 PM

In the vector class why do we have remove Range as protected
If possible how do we use this method in Vectors

Re: Vector class protected void removeRange(int fromIndex,int toIndex)

Posted By:   John_Zukowski  
Posted On:   Monday, October 8, 2001 07:48 PM

As with any protected method, if you want to call it you have to subclass.

If you need to regularly call the method, perhaps you should rethink the use of removeRange(), as it must adjust the internal arrays being used. A LinkedList is probably a better data structure for you to use.

About | Sitemap | Contact