Class CollisionMap

    • Method Detail

      • size

        public int size()
        How many mappings.
      • capacity

        public int capacity()
        How many slots are allocated.
      • addLabel

        public int addLabel​(FacetLabel label,
                            int hash,
                            int cid)
        Add another mapping.
      • addLabelOffset

        public void addLabelOffset​(int hash,
                                   int offset,
                                   int cid)
        This method does not check if the same value is already in the map because we pass in an char-array offset, so so we now that we're in resize-mode here.