Code example for ObjectInput

Methods: readBooleanreadDoublereadLongreadUTF

0
		} 
	} 
 
	public void readExternal(ObjectInput in) throws IOException,
			ClassNotFoundException { 
		this.price = in.readDouble();
		this.discount = in.readDouble();
		this.save = in.readDouble();
		this.isDealOfTheDay = in.readBoolean();
		this.currencyCode = in.readUTF();
		this.endDate = in.readLong();
		if (in.readBoolean()) {
			this.dealType = in.readUTF();
		} 
	} 
} 
Connect your IDE to all the code out there  Get Codota for Java