Code example for DataOutput

Methods: writeByteswriteDouble

0
		change = in.readDouble();
	} 
 
	@Override 
	public void write(DataOutput out) throws IOException {
		out.writeUTF(symbol);
		out.writeUTF(date);
		out.writeDouble(change);
	} 
 
	public String getSymbol() {
		return symbol;
	} 
 
	public void setSymbol(String symbol) {
		this.symbol = symbol;
	} 
 
	public String getDate() {
		return date;
Stop searching for code, let great code find you!  Add Codota to your java IDE