GraphMine

graphmine-util / io.github.sof3.graphmine.util / ByteRef

ByteRef

class ByteRef : ReadWriteProperty<Any?, Byte>, ReadOnlyProperty<Any?, Byte>

Useful for passing by reference or as return value in delegation providers DelegateProvider and VarDelegateProvider

Constructors

<init> ByteRef(value: Byte)
Useful for passing by reference or as return value in delegation providers DelegateProvider and VarDelegateProvider

Properties

value var value: Byte
the backing value

Functions

getValue operator fun getValue(thisRef: Any?, property: KProperty<*>): Byte
Used for delegation to the backing value
setValue operator fun setValue(thisRef: Any?, property: KProperty<*>, value: Byte): Unit
Used for delegation to the backing value