Class LPosArgs

    • Constructor Detail

      • LPosArgs

        public LPosArgs()
    • Method Detail

      • rank

        public LPosArgs rank​(long rank)
        The RANK option specifies the "rank" of the first element to return, in case there are multiple matches.
        Parameters:
        rank - the rank value, can be negative
        Returns:
        the current LPosArgs
      • maxlen

        public LPosArgs maxlen​(long max)
        the MAXLEN option tells the command to compare the provided element only with a given maximum number of list items. So for instance specifying MAXLEN 1000 will make sure that the command performs only 1000 comparisons, effectively running the algorithm on a subset of the list.
        Parameters:
        max - the max value, must be positive
        Returns:
        the current LPosArgs