Ejemplo n.º 1
0
 /**
  * Fill our map with content of the pb we read off disk
  *
  * @param fip protobuf message to read
  */
 void parsePB(final HFileProtos.FileInfoProto fip) {
   this.map.clear();
   for (BytesBytesPair pair : fip.getMapEntryList()) {
     this.map.put(pair.getFirst().toByteArray(), pair.getSecond().toByteArray());
   }
 }