org.apache.lucene.util.packed

Class PagedMutable

    • Constructor Detail

      • PagedMutable

        public PagedMutable(long size,
                            int pageSize,
                            int bitsPerValue,
                            float acceptableOverheadRatio)
        Create a new PagedMutable instance.
        Parameters:
        size - the number of values to store.
        pageSize - the number of values per page
        bitsPerValue - the number of bits per value
        acceptableOverheadRatio - an acceptable overhead ratio