Code example for ObjectOutput

Methods: writeFloat, writeLong

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