Code example for ObjectOutput

Methods: writeByte, writeDouble

0
		return true; 
	} 
 
	public boolean execute(double key, byte val) {
		try { 
			stream.writeDouble(key);
			stream.writeByte(val);
		} catch (IOException e) {
			this.exception = e;
			return false; 
		} 
		return true; 
	} 
 
	public boolean execute(double key, short val) {
		try { 
			stream.writeDouble(key);
			stream.writeShort(val);
		} catch (IOException e) {
			this.exception = e;
			return false;