code: @Override
    public void write(DataOutput out) throws IOException {
      super.write(out);
      out.writeInt(nr);
      out.writeInt(currentNbRecord);
      out.writeInt(matrix.length);
      for (int i = 0; i < matrix.length; i++) {
        matrix[i].write(out);
      }
    }
docs: Writable