Code example for DataOutput

Methods: writeDouble, writeInt

0
    this.sensitivity = in.readDouble();
  } 
 
  @Override 
  public void write(DataOutput out) throws IOException {
    out.writeInt(row);
    out.writeInt(column);
    out.writeDouble(sensitivity);
  } 
 
  public int getRow() { 
    return row;
  } 
 
  public int getColumn() { 
    return column;
  } 
 
  public double getSensitivity() { 
    return sensitivity;
  }