PackedLongValues

Utility class to compress integers into a LongValues instance.

Inheritors

Types

Link copied to clipboard
open class Builder : Accountable

A Builder for a PackedLongValues instance.

Link copied to clipboard
object Companion
Link copied to clipboard
inner class Iterator

An iterator over long values.

Properties

Link copied to clipboard

Returns nested resources of this class. The result should be a point-in-time snapshot (to avoid race conditions).

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun decodeBlock(block: Int, dest: LongArray): Int
Link copied to clipboard
open override fun get(index: Long): Long

Get value at index.

open fun get(block: Int, element: Int): Long
Link copied to clipboard

Return an iterator over the values of this array.

Link copied to clipboard
open override fun ramBytesUsed(): Long

Return the memory usage of this object in bytes. Negative values are illegal.

Link copied to clipboard
fun size(): Long

Get the number of values in this array.