code: public Token read(Token t) throws IOException {
      if (t.e == EditsElement.OPCODE) {
        // read the offset first
        LongToken offsetToken = new LongToken(EditsElement.OFFSET);
        offsetToken.fromString(getNextElementsValue(EditsElement.OFFSET.name()));
        t.offset = offsetToken.value;
      }
      t.fromString(getNextElementsValue(t.getEditsElement().toString()));
      return t;
    }
docs: @see org.apache.hadoop.hdfs.tools.offlineEditsViewer.Tokenizer#read
  
  @param t a token to read
  @return token that was just read