当前位置: 代码迷 >> J2SE >> ArrayList里方法的有关问题
  详细解决方案

ArrayList里方法的有关问题

热度:72   发布时间:2016-04-24 15:07:15.0
ArrayList里方法的问题
API中ArrayList有这个方法    
protected   void   removeRange(int   fromIndex,int   toIndex)
请问高手们   我怎么可以用这个方法?eclipse中调不出来.谢谢..


------解决方案--------------------
public class MyArrayList extends ArrayList {

public void f() {
// 在这里用removeRange();
}


}
  相关解决方案