FlaggedBuffer

interface FlaggedBuffer<T> : Buffer<T>

A buffer with flagged values.

Functions

get
Link copied to clipboard
common
abstract operator fun get(index: Int): T
Gets element at given index.
getFlag
Link copied to clipboard
common
abstract fun getFlag(index: Int): Byte
iterator
Link copied to clipboard
common
abstract operator fun iterator(): Iterator<T>
Iterates over all elements.

Properties

size
Link copied to clipboard
common
abstract val size: Int
The size of this buffer.

Inheritors

FlaggedDoubleBuffer
Link copied to clipboard

Extensions

hasFlag
Link copied to clipboard
common
fun FlaggedBuffer<*>.hasFlag(index: Int, flag: ValueFlag): Boolean
isMissing
Link copied to clipboard
common
fun FlaggedBuffer<*>.isMissing(index: Int): Boolean
isValid
Link copied to clipboard
common
fun FlaggedBuffer<*>.isValid(index: Int): Boolean
The value is valid if all flags are down