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) {
 
Contextual code suggestions in your IDE  Get Codota for Java