Code example for ObjectOutput

Methods: writeShortwriteObject

0
		return true; 
	} 
 
	public boolean execute(Object key, short val) {
		try { 
			stream.writeObject(key);
			stream.writeShort(val);
		} catch (IOException e) {
			this.exception = e;
			return false; 
		} 
		return true; 
	} 
 
	public boolean execute(Object key, int val) {
		try { 
			stream.writeObject(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