Package org.jsignal.rx
Class Signal<T>
java.lang.Object
org.jsignal.rx.Signal<T>
- All Implemented Interfaces:
Consumer<T>,Supplier<T>,Acceptable<T>,Mutateable<T>,SignalLike<T>,Trackable,SkipMemo
- Direct Known Subclasses:
AtomicSignal
The core reactive primitive. Wraps another object and adds the ability for access and mutation of the value to be
automatically tracked.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from interface org.jsignal.rx.SkipMemo
SkipMemo.SkipSupplier<T> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jsignal.rx.interfaces.Acceptable
acceptMethods inherited from interface org.jsignal.rx.interfaces.Mutateable
modify
-
Field Details
-
value
-
thread
-
equals
-
clone
-
effects
-
-
Constructor Details
-
Signal
-
-
Method Details
-
getThread
- Specified by:
getThreadin interfaceSignalLike<T>
-
track
public void track() -
untrack
public void untrack() -
get
-
transform
- Specified by:
transformin interfaceAcceptable<T>
-
mutate
- Specified by:
mutatein interfaceMutateable<T>
-
runEffects
protected void runEffects() -
empty
-
create
-
builder
-
builder
-