Class PackedInts.Reader

    • Constructor Detail

      • Reader

        public Reader()
    • Method Detail

      • get

        public abstract long get​(int index)
        Get the long at the given index. Behavior is undefined for out-of-range indices.
      • get

        public int get​(int index,
                       long[] arr,
                       int off,
                       int len)
        Bulk get: read at least one and at most len longs starting from index into arr[off:off+len] and return the actual number of values that have been read.
      • size

        public abstract int size()
        Returns:
        the number of values.