Class ShiftAddXorSignedStringMap

    • Field Detail

      • signatures

        protected final LongBigList signatures
        Deprecated.
        Signatures.
      • width

        protected final int width
        Deprecated.
        The width in bits of each signature.
      • shift

        protected final int shift
        Deprecated.
        The left shift to get only width nonzero bits.
      • mask

        protected final long mask
        Deprecated.
        The mask to get only width nonzero bits.
    • Constructor Detail

      • ShiftAddXorSignedStringMap

        public ShiftAddXorSignedStringMap​(Iterator<? extends CharSequence> iterator,
                                          Object2LongFunction<? extends CharSequence> map)
        Deprecated.
        Creates a new shift-add-xor signed string map using a given hash map and 32-bit signatures.
        Parameters:
        iterator - an iterator enumerating a set of strings.
        map - a minimal perfect hash for the strings enumerated by iterator; it must support size() and have default return value -1.
      • ShiftAddXorSignedStringMap

        public ShiftAddXorSignedStringMap​(Iterator<? extends CharSequence> iterator,
                                          Object2LongFunction<? extends CharSequence> map,
                                          int signatureWidth)
        Deprecated.
        Creates a new shift-add-xor signed string map using a given hash map.
        Parameters:
        iterator - an iterator enumerating a set of strings.
        map - a minimal perfect hash for the strings enumerated by iterator; it must support size() and have default return value -1.
        signatureWidth - the width, in bits, of the signature of each string.