AbstractPagedMutable

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
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
val size: Long
Link copied to clipboard

Functions

Link copied to clipboard
open override fun get(index: Long): Long

Get value at index.

Link copied to clipboard
fun grow(minSize: Long = size() + 1): T

Similar to ArrayUtil.grow.

Link copied to clipboard
fun indexInPage(index: Long): Int
Link copied to clipboard
fun lastPageSize(size: Long): Int
Link copied to clipboard
fun pageIndex(index: Long): Int
Link copied to clipboard
fun pageSize(): Int
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 resize(newSize: Long): T

Create a new copy of size newSize based on the content of this buffer. This method is much more efficient than creating a new instance and copying values one by one.

Link copied to clipboard
fun set(index: Long, value: Long)

Set value at index.

Link copied to clipboard
fun size(): Long

The number of values.

Link copied to clipboard
open override fun toString(): String