Code example for ObjectOutput

Methods: writeIntwriteObject

0
		return true; 
	} 
 
	public boolean execute(int key, Object val) {
		try { 
			stream.writeInt(key);
			stream.writeObject(val);
		} catch (IOException e) {
			this.exception = e;
			return false; 
		} 
		return true; 
	} 
 
	public boolean execute(int key, int val) {
		try { 
			stream.writeInt(key);
			stream.writeInt(val);
		} catch (IOException e) {
			this.exception = e;
Stop searching for code, let great code find you!  Add Codota to your java IDE