ZK-1931/javazab — pull request #4 by EasonLiao (2014-06-09 02:46:55+00:00)
Title: Add a class for zxid

Initially we'll use 4 bytes for epoch and 4 bytes for xid (see gh-2).

- It needs to be comparable.
- toByteArray / fromByteArray to serialize / deserialize. The byte array must be fixed size.
- Do we need to be able to check if 2 zxids are contiguous to make sure there is no gap?