Code example for DataInput

Methods: readLongreadUTF

0
	} 
 
	@Override 
	public void readFields(DataInput in) throws IOException {
 
		this.Group = in.readUTF();
		this.Timestamp = in.readLong();
 
	} 
 
	@Override 
	public void write(DataOutput out) throws IOException {
 
		out.writeUTF(Group);
		out.writeLong(this.Timestamp);
	} 
 
	@Override 
	public int compareTo(TimeseriesKey other) {
 
Stop searching for code, let great code find you!  Add Codota to your java IDE