public void fill(int fromIndex,int toIndex,int val){
  if (toIndex > _pos) {
    ensureCapacity(toIndex);
    _pos=toIndex;
  }
  Arrays.fill(_data,fromIndex,toIndex,val);
}

public void fill ( int fromIndex , int toIndex , int val ) { if ( toIndex > _pos ) { ensureCapacity ( toIndex ) ; _pos = toIndex ; } Arrays . fill ( _data , fromIndex , toIndex , val ) ; }
fills a range in the list with the specified value .
