<component name="Identifier"> <LongAttribute name="userId" defaultValue="0" /> </component>
class LongAttribute(key: Int, component: ComponentBase, attributeIndex: Int, initialValue: Long) : TypedAbstractAttribute<Long>
LongAttribute
(
key
, component
, attributeIndex
, initialValue
)
|
Signature
constructor(key: Int, component: ComponentBase, attributeIndex: Int, initialValue: Long) Parameters key: Int
The integer key for this attribute
attributeIndex: IntinitialValue: Long
The initial value for this attribute
Returns LongAttribute |
value
: Long
[Get][Set] |
Signature
var value: Long |
version
: ULong
[Get][Set] |
Signature
open override var version: ULong |
checkIfComponentIsOld
()
|
Signature
fun checkIfComponentIsOld() |
checkIfComponentIsRecycled
()
|
Signature
fun checkIfComponentIsRecycled() |
get
()
|
Signature
open override fun get(): Any Returns Any |
getValue
(
thisRef
, property
)
|
Signature
operator fun getValue(thisRef: Any?, property: KProperty<*>): Long Parameters thisRef: Any?property: KPropertyReturns Long |
set
(
value
)
|
Signature
open override fun set(value: Any) Parameters value: Any |
setValue
(
thisRef
, property
, value
)
|
Signature
operator fun setValue(thisRef: Any?, property: KProperty<*>, value: Long) Parameters thisRef: Any?property: KPropertyvalue: Long |