value property
T
get
value
Implementation
T get value
{
if (_value == null) {
throw new IllegalStateException("ReclaimableSlot does not yet have a value.");
}
return _value!;
}
set
value
(T value)
Implementation
void set value(T value)
{
if (_value != null) {
_value!.reclaim();
}
_hostObject.registerReclaimable(value);
_value = value;
}