-
public final class NonNullLiveData<T extends Object> extends LiveData<T>
Immutable live data abstraction capable of mapping and preserving the non null value
-
-
Field Summary
Fields Modifier and Type Field Description private final ObjectmDataLockprivate final IntegermActiveCountprivate final ObjectmPendingData
-
Constructor Summary
Constructors Constructor Description NonNullLiveData(T initValue)
-
Method Summary
Modifier and Type Method Description TgetValue()final <B extends Any> NonNullLiveData<B>map(Function1<T, B> mapper)-
Methods inherited from class app.futured.arkitekt.core.livedata.NonNullLiveData
changeActiveCounter, dispatchingValue, getVersion, hasActiveObservers, hasObservers, isInitialized, observe, observeForever, onActive, onInactive, postValue, removeObserver, removeObservers, setValue -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-