Code example for ObjectOutput

Methods: writeBytewriteInt

0
		return true; 
	} 
 
	public boolean execute(byte key, int val) {
		try { 
			stream.writeByte(key);
			stream.writeInt(val);
		} catch (IOException e) {
			this.exception = e;
			return false; 
		} 
		return true; 
	} 
 
	public boolean execute(byte key, long val) {
		try { 
			stream.writeByte(key);
			stream.writeLong(val);
		} catch (IOException e) {
			this.exception = e;
Connect your IDE to all the code out there  Get Codota for Java