Code example for ObjectInput

Methods: readLongreadObject

0
		out.writeObject(value);
	} 
 
	@Override 
	public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
		this.timeToLive = in.readLong();
		this.value = in.readObject();
	} 
 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE