Code example for ObjectOutput

Methods: writeFloat, writeObject

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