public class LateinitEmitter<T>
extends PushEmitter
PushEmitter.CompanionCompanion| Constructor and Description |
|---|
LateinitEmitter() |
| Modifier and Type | Method and Description |
|---|---|
<R> R |
checkContains(kotlin.jvm.functions.Function1<? super T,? extends R> ifContains,
kotlin.jvm.functions.Function0<? extends R> ifNotContains) |
void |
set(T value) |
boolean |
setUnique(T value) |
protected void |
tryGetValue(kotlin.jvm.functions.Function1<? super T,kotlin.Unit> onValue) |
onAttached, onChanged, tryGetValueafterLastDetached, beforeFirstAttached, call, observe, onAttached, onDetachedpublic <R> R checkContains(@NotNull
kotlin.jvm.functions.Function1<? super T,? extends R> ifContains,
@NotNull
kotlin.jvm.functions.Function0<? extends R> ifNotContains)
public void set(T value)
public boolean setUnique(T value)
protected void tryGetValue(@NotNull
kotlin.jvm.functions.Function1<? super T,kotlin.Unit> onValue)