code: public static TextIntWritable read(DataInput in) throws IOException {
          TextIntWritable tiw = new TextIntWritable();
          tiw.t.readFields(in);
          tiw.position = in.readInt();
          return tiw;
      }
docs: Deserializes a {@code TextIntWritable} from the provided stream and
  returns the resulting object.