Code example for DataOutput

Methods: writeDoublewriteInt

0
		_value = arg0.readDouble();
	} 
 
	@Override 
	public void write(DataOutput arg0) throws IOException {
		arg0.writeInt(_destination);
		arg0.writeDouble(_value);
	} 
 
	@Override 
	public String toString() {
		return _destination + " - " + _value;
	} 
} 
Connect your IDE to all the code out there  Get Codota for Java