Code example for ObjectOutput

Methods: writeDoublewriteObject

0
		return true; 
	} 
 
	public boolean execute(Object key, double val) {
		try { 
			stream.writeObject(key);
			stream.writeDouble(val);
		} catch (IOException e) {
			this.exception = e;
			return false; 
		} 
		return true; 
	} 
 
	public boolean execute(Object key, float val) {
		try { 
			stream.writeObject(key);
			stream.writeFloat(val);
		} catch (IOException e) {
			this.exception = e;
Contextual code suggestions in your IDE  Get Codota for Java