Code example for ObjectInput

Methods: readDoublereadFloat

0
		out.writeFloat(altitude);
	} 
 
	public void readExternal(ObjectInput in) throws IOException,
			ClassNotFoundException { 
		this.latitude = in.readDouble();
		this.longitude = in.readDouble();
		this.altitude = in.readFloat();
	} 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE