Example #1
0
 @Override
 protected boolean visitKeyValuePair(CountsKey key, ReadableBuffer value) {
   key.accept(visitor, value.getLong(0), value.getLong(8));
   return true;
 }
Example #2
0
 @Override
 protected void writeKey(CountsKey key, final WritableBuffer buffer) {
   key.accept(new KeyFormat(buffer), 0, 0);
 }