Code example for ObjectOutput

Methods: writeByte, writeLong

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