} else if (type == SHORT_DATA_TYPE) { size = ((short []) longDataArray.get(longIndex+1)).length; } else if (type == LONG_DATA_TYPE) { size = ((long []) longDataArray.get(longIndex+1)).length;
   private int getLongDataArraySize (int longIndex, int type)   {      int size = 0;      if (type == DOUBLE_DATA_TYPE) {         size = ((double[]) longDataArray.get(longIndex+1)).length;      } else if (type == INT_DATA_TYPE) {         size = ((int []) longDataArray.get(longIndex+1)).length;      } else if (type == BYTE_DATA_TYPE) {         size = ((byte []) longDataArray.get(longIndex+1)).length;      } else if (type == SHORT_DATA_TYPE) {         size = ((short []) longDataArray.get(longIndex+1)).length;      } else if (type == LONG_DATA_TYPE) {         size = ((long []) longDataArray.get(longIndex+1)).length;      } else if (type == STRING_DATA_TYPE) {         size = ((String []) longDataArray.get(longIndex+1)).length;      }     return size;   }