Class BinaryId


  • public class BinaryId
    extends Object
    A binary id. Internally, this class uses 3 longs (64-bit) values.
    • Constructor Detail

      • BinaryId

        public BinaryId​(String identifier)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getLongHash

        public long getLongHash()
        Get a 64-bit hash value. The probability of collisions is about: 50% for a set of 5 billion entries, 1% for 600 million, 0.0001% for 6 million entries.
        Returns:
        a 64-bit hash value
      • getLength

        public long getLength()