@Override protected void ensureNumberOfColumns(int numberOfColumns){
  if (data.length >= numberOfColumns) {
    return;
  }
  long[] newData=new long[numberOfColumns];
  System.arraycopy(data,0,newData,0,data.length);
  data=newData;
}

@ Override protected void ensureNumberOfColumns ( int numberOfColumns ) { if ( data . length >= numberOfColumns ) { return ; } long [ ] newData = new long [ numberOfColumns ] ; System . arraycopy ( data , 0 , newData , 0 , data . length ) ; data = newData ; }
creates a new array of the given size if necessary and copies the data into the new array .
