Interface IIndexReader.IOne2LongIndex

    • Method Detail

      • get

        long get​(int index)
        Look up a long from an int in the index.
        Parameters:
        index - the key
        Returns:
        the long
      • reverse

        int reverse​(long value)
        Find the int corresponding to the long in the index value. The reverse of get(int)
        Parameters:
        value - the value to look up
        Returns:
        the correspond int key in the index
      • getNext

        long[] getNext​(int index,
                       int length)
        Look up long from an range of int keys in the index.
        Parameters:
        index - the starting point
        length - the number of items to look up
        Returns:
        an array of longs corresponding to the input