Log.debugln("Expanding Long array size to "+newsize+" from "+currentSize +" (add capacity is "+additionalCapacity+")");
Log.debugln(" DataCube is expanding internal LongDataArray size to "+(newsize*2)+" from "+(currentSize*2)+" (added capacity is:"+additionalCapacity+")");
   private void expandLongArray (int newsize) {      int currentSize = longDataArray.size();      int additionalCapacity = (newsize - currentSize) * 2; // mult by 2 to allow for shadow byte array       if (additionalCapacity > 0) {Log.debugln("Expanding Long array size to "+newsize+" from "+currentSize +" (add capacity is "+additionalCapacity+")");         List moreArray = Collections.synchronizedList(new ArrayList(additionalCapacity));         for (int i = 0; i < additionalCapacity; i++) {            moreArray.add(null); // populate with nulls         }         longDataArray.addAll(moreArray);      }   }