コード例 #1
0
 @Override
 public String getString(CellNameType comparator) {
   return String.format(
       "%s:%s@%d", comparator.getString(name()), ByteBufferUtil.toLong(value), timestamp());
 }
コード例 #2
0
 public Date deserialize(ByteBuffer bytes) {
   return bytes.remaining() == 0 ? null : new Date(ByteBufferUtil.toLong(bytes));
 }