Code example for ObjectOutput

Methods: writeByte, writeFloat

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