FlaggedBuffer

interface FlaggedBuffer<out T> : Buffer<T>

A buffer with flagged values.

Functions

Link copied to clipboard
abstract operator fun get(index: Int): T

Gets element at given index.

Link copied to clipboard
abstract fun getFlag(index: Int): Byte
Link copied to clipboard
abstract operator fun iterator(): Iterator<T>

Iterates over all elements.

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

Properties

Link copied to clipboard
abstract val size: Int

The size of this buffer.

Inheritors

Link copied to clipboard

Extensions

Link copied to clipboard
fun FlaggedBuffer<*>.hasFlag(index: Int, flag: ValueFlag): Boolean
Link copied to clipboard
fun FlaggedBuffer<*>.isMissing(index: Int): Boolean
Link copied to clipboard
fun FlaggedBuffer<*>.isValid(index: Int): Boolean

The value is valid if all flags are down

Sources

Link copied to clipboard