- a - Variable in class react.RFuture.T2
-
- a - Variable in class react.RFuture.T3
-
- a - Variable in class react.Values.T2
-
- a - Variable in class react.Values.T3
-
- AbstractSignal<T> - Class in react
-
Handles the machinery of connecting slots to a signal and emitting events to them, without
exposing a public interface for emitting events.
- AbstractSignal() - Constructor for class react.AbstractSignal
-
- AbstractValue<T> - Class in react
-
Handles the machinery of connecting listeners to a value and notifying them, without exposing a
public interface for updating the value.
- AbstractValue() - Constructor for class react.AbstractValue
-
- add(T) - Method in class react.Closeable.Set
-
Adds the supplied connection to this set.
- add(E) - Method in class react.RList
-
- add(int, E) - Method in class react.RList
-
- add(E) - Method in class react.RQueue
-
- add(E) - Method in class react.RSet
-
- addAll(Collection<? extends E>) - Method in class react.RList
-
- addAll(int, Collection<? extends E>) - Method in class react.RList
-
- addAll(Collection<? extends E>) - Method in class react.RQueue
-
- addAll(Collection<? extends E>) - Method in class react.RSet
-
- addFailure(Throwable) - Method in exception react.MultiFailureException
-
- addForce(E) - Method in class react.RSet
-
Adds the supplied element to the set, forcing a notification to the listeners regardless of
whether the element was already in the set or not.
- and(ValueView<Boolean>, ValueView<Boolean>) - Static method in class react.Values
-
Returns a value which is the logical AND of the supplied values.
- and(ValueView<Boolean>...) - Static method in class react.Values
-
Returns a value which is the logical AND of the supplied values.
- and(Collection<? extends ValueView<Boolean>>) - Static method in class react.Values
-
Returns a value which is the logical AND of the supplied values.
- andThen(Slot<? super S>) - Method in class react.Slot
-
Returns a new slot that invokes this slot and then evokes after
.
- andThen(UnitSlot) - Method in class react.UnitSlot
-
Returns a new slot that invokes this slot and then evokes after
.
- apply(F) - Method in interface react.Function
-
Applies this function to the supplied input value.
- asValue(SignalView<T>, T) - Static method in class react.Values
-
Returns a view of the supplied signal as a value.
- atPrio(int) - Method in class react.Connection
-
Changes the priority of this connection to the specified value.
- c - Variable in class react.RFuture.T3
-
- c - Variable in class react.Values.T3
-
- cause - Variable in class react.Try.Failure
-
- changes() - Method in class react.AbstractValue
-
- changes() - Method in interface react.ValueView
-
Returns a signal that is emitted whenever this value changes.
- clear() - Method in class react.RList
-
- clear() - Method in class react.RMap
-
- clear() - Method in class react.RQueue
-
- clear() - Method in class react.RSet
-
- clearConnections() - Method in class react.Reactor
-
Clears all connections from this reactor.
- close() - Method in interface react.Closeable
-
Closes this closeable resource.
- close() - Method in class react.Closeable.Set
-
Closes all connections in this set and empties it.
- close(Closeable) - Static method in class react.Closeable.Util
-
- close() - Method in class react.Connection
-
Disconnects this registration.
- Closeable - Interface in react
-
- Closeable.Set - Class in react
-
Maintains a set of closeables to allow mass operations on them.
- Closeable.Util - Class in react
-
- collect(Function<? super T, M>) - Method in class react.AbstractSignal
-
- collect(Collection<? extends RFuture<T>>) - Static method in class react.RFuture
-
Returns a future containing a list of all success results from futures
.
- collect(Function<? super T, M>) - Method in interface react.SignalView
-
Creates a signal that maps the values emitted by this signal through collector
and
emits only the non-null values that are returned.
- complete(Try<T>) - Method in class react.RPromise
-
Causes this promise to be completed with result
.
- completer() - Method in class react.RPromise
-
Returns a slot that can be used to complete this promise.
- compose(Function<S, T>) - Method in class react.Slot
-
Returns a slot that maps values via f
and then passes them to this slot.
- connect(SignalView.Listener<? super T>) - Method in class react.AbstractSignal
-
- connect(ValueView.Listener<? super T>) - Method in class react.AbstractValue
-
- connect(SignalView.Listener<? super T>) - Method in class react.AbstractValue
-
- connect(Slot<? super T>) - Method in class react.AbstractValue
-
- connect(RList.Listener<? super E>) - Method in class react.RList
-
Connects the supplied listener to this list, such that it will be notified on adds and
removes.
- connect(RMap.Listener<? super K, ? super V>) - Method in class react.RMap
-
Connects the supplied listener to this map, such that it will be notified on puts and
removes.
- connect(RQueue.Listener<? super E>) - Method in class react.RQueue
-
Connects the supplied listener to this queue, such that it will be notified on offers and
polls.
- connect(RSet.Listener<? super E>) - Method in class react.RSet
-
Connects the supplied listener to this set, such that it will be notified on adds and
removes.
- connect(SignalView.Listener<? super T>) - Method in interface react.SignalView
-
Connects this signal to the supplied slot, such that when an event is emitted from this
signal, the slot will be notified.
- connect(ValueView.Listener<? super T>) - Method in interface react.ValueView
-
Connects the supplied listener to this value, such that it will be notified when this value
changes.
- connect(SignalView.Listener<? super T>) - Method in interface react.ValueView
-
Connects the supplied listener to this value, such that it will be notified when this value
changes.
- connect(Slot<? super T>) - Method in interface react.ValueView
-
Connects the supplied listener to this value, such that it will be notified when this value
changes.
- Connection - Class in react
-
Provides a mechanism to cancel a slot or listener registration, or to perform post-registration
adjustment like making the registration single-shot.
- Connection() - Constructor for class react.Connection
-
- connectNotify(ValueView.Listener<? super T>) - Method in class react.AbstractValue
-
- connectNotify(SignalView.Listener<? super T>) - Method in class react.AbstractValue
-
- connectNotify(Slot<? super T>) - Method in class react.AbstractValue
-
- connectNotify(RList.Listener<? super E>) - Method in class react.RList
-
Invokes onAdd(int,E)
for all existing list elements, then connects listener
.
- connectNotify(RMap.Listener<? super K, ? super V>) - Method in class react.RMap
-
Invokes onPut
for all existing entries and then connects listener
.
- connectNotify(RQueue.Listener<? super E>) - Method in class react.RQueue
-
Invokes onOffer
for all existing queue elements, then connects listener
.
- connectNotify(RSet.Listener<? super E>) - Method in class react.RSet
-
Invokes onAdd
for all existing elements, and then connects listener
.
- connectNotify(ValueView.Listener<? super T>) - Method in interface react.ValueView
-
Connects the supplied listener to this value, such that it will be notified when this value
changes.
- connectNotify(SignalView.Listener<? super T>) - Method in interface react.ValueView
-
Connects the supplied listener to this value, such that it will be notified when this value
changes.
- connectNotify(Slot<? super T>) - Method in interface react.ValueView
-
Connects the supplied listener to this value, such that it will be notified when this value
changes.
- constant(E) - Static method in class react.Functions
-
Returns a function that always returns the supplied constant value.
- contains(Object) - Method in class react.RList
-
- contains(Object) - Method in class react.RQueue
-
- contains(Object) - Method in class react.RSet
-
- containsAll(Collection<?>) - Method in class react.RList
-
- containsAll(Collection<?>) - Method in class react.RQueue
-
- containsAll(Collection<?>) - Method in class react.RSet
-
- containsKey(Object) - Method in class react.RMap
-
- containsKeyView(K) - Method in class react.RMap
-
Returns a value view that models whether the specified key is contained in this map.
- containsValue(Object) - Method in class react.RMap
-
- containsView(E) - Method in class react.RSet
-
Returns a value that models whether the specified element is contained in this map.
- create() - Static method in class react.RList
-
Creates a reactive list backed by an
ArrayList
.
- create(List<E>) - Static method in class react.RList
-
Creates a reactive list with the supplied underlying list implementation.
- create() - Static method in class react.RMap
-
Creates a reactive map that uses a
HashMap
as its underlying implementation.
- create(Map<K, V>) - Static method in class react.RMap
-
Creates a reactive map with the supplied underlying map implementation.
- create() - Static method in class react.RPromise
-
Creates a new, uncompleted, promise.
- create() - Static method in class react.RQueue
-
- create(Queue<E>) - Static method in class react.RQueue
-
Creates a reactive queue with the supplied underlying queue implementation.
- create() - Static method in class react.RSet
-
Creates a reactive set backed by a @{link HashSet}.
- create(Set<E>) - Static method in class react.RSet
-
Creates a reactive set with the supplied underlying set implementation.
- create() - Static method in class react.Signal
-
Convenience method for creating a signal without repeating the type parameter.
- create(T) - Static method in class react.Value
-
Convenience method for creating an instance with the supplied starting value.
- identity() - Static method in class react.Functions
-
Returns the identity function for type T
.
- increment(int) - Method in class react.IntValue
-
Increments this value by amount
.
- incrementClamp(int, int) - Method in class react.IntValue
-
Increments this value by amount
, clamping at max
if the current value plus
amount
exceeds max
.
- incrementClamp(int, int, int) - Method in class react.IntValue
-
Increments this value by amount
(or decrements if negative), clamping to the range
[min
, max
].
- indexOf(Object) - Method in class react.RList
-
- INT_VALUE - Static variable in class react.Functions
-
A function that returns the int value of a number.
- IntValue - Class in react
-
A
Value
specialized for ints, which has some useful methods.
- IntValue(int) - Constructor for class react.IntValue
-
Creates an instance with the specified starting value.
- IS_NULL - Static variable in class react.Functions
-
A function that returns true for null values and false for non-null values.
- isComplete() - Method in class react.RFuture
-
Returns a value that indicates whether this future has completed.
- isCompleteNow() - Method in class react.RFuture
-
Returns whether this future is complete right now.
- isEmpty() - Method in class react.RList
-
- isEmpty() - Method in class react.RMap
-
- isEmpty() - Method in class react.RQueue
-
- isEmpty() - Method in class react.RSet
-
- isEmptyView() - Method in class react.RCollection
-
Returns a reactive value which is true when this collection is empty, false otherwise.
- isFailure() - Method in class react.Try
-
Returns try if this is a failed try, false if it is a successful try.
- isNonEmptyView() - Method in class react.RCollection
-
Returns a reactive value which is false when this collection is empty, true otherwise.
- isSuccess() - Method in class react.Try.Failure
-
- isSuccess() - Method in class react.Try
-
Returns try if this is a successful try, false if it is a failed try.
- isSuccess() - Method in class react.Try.Success
-
- iterator() - Method in class react.RList
-
- iterator() - Method in class react.RQueue
-
- iterator() - Method in class react.RSet
-
- offer(E) - Method in class react.RQueue
-
- onAdd(int, E) - Method in class react.RList.Listener
-
Notifies listener of an added element.
- onAdd(E) - Method in class react.RList.Listener
-
Notifies listener of an added element.
- onAdd(E) - Method in class react.RSet.Listener
-
Notifies listener of an added element.
- once() - Method in class react.Connection
-
Converts this connection into a one-shot connection.
- onChange(T, T) - Method in class react.Slot
-
- onChange(T, T) - Method in interface react.ValueView.Listener
-
Called when the value to which this listener is bound has changed.
- onComplete(SignalView.Listener<? super Try<T>>) - Method in class react.RFuture
-
Causes slot
to be notified when this future is completed.
- onEmit(T) - Method in interface react.SignalView.Listener
-
Called when a signal to which this slot is connected has emitted an event.
- onEmit() - Method in class react.UnitSlot
-
Called when a signal to which this slot is connected has emitted an event.
- onEmit(Object) - Method in class react.UnitSlot
-
- onFailure(SignalView.Listener<? super Throwable>) - Method in class react.RFuture
-
Causes slot
to be notified if/when this future is completed with failure.
- onOffer(E) - Method in class react.RQueue.Listener
-
Notifies listener of an offered (added) element.
- onPoll(E) - Method in class react.RQueue.Listener
-
Notifies listener of a polled (removed) element.
- onPut(K, V, V) - Method in class react.RMap.Listener
-
Notifies listener of an added or updated mapping.
- onPut(K, V) - Method in class react.RMap.Listener
-
Notifies listener of an added or updated mapping.
- onRemove(int, E) - Method in class react.RList.Listener
-
Notifies listener of a removed element.
- onRemove(E) - Method in class react.RList.Listener
-
Notifies listener of a removed element.
- onRemove(K, V) - Method in class react.RMap.Listener
-
Notifies listener of a removed mapping.
- onRemove(K) - Method in class react.RMap.Listener
-
Notifies listener of a removed mapping.
- onRemove(E) - Method in class react.RSet.Listener
-
Notifies listener of a removed element.
- onSet(int, E, E) - Method in class react.RList.Listener
-
Notifies listener of an updated element.
- onSet(int, E) - Method in class react.RList.Listener
-
Notifies listener of an updated element.
- onSuccess(SignalView.Listener<? super T>) - Method in class react.RFuture
-
Causes slot
to be notified if/when this future is completed with success.
- or(ValueView<Boolean>, ValueView<Boolean>) - Static method in class react.Values
-
Returns a value which is the logical OR of the supplied values.
- or(ValueView<Boolean>...) - Static method in class react.Values
-
Returns a value which is the logical OR of the supplied values.
- or(Collection<? extends ValueView<Boolean>>) - Static method in class react.Values
-
Returns a value which is the logical OR of the supplied values.
- RCollection<T> - Class in react
-
- RCollection() - Constructor for class react.RCollection
-
- react - package react
-
- Reactor - Class in react
-
A base class for all reactive classes.
- Reactor() - Constructor for class react.Reactor
-
- Reactor.RListener - Interface in react
-
The base class for all reactor listeners.
- recover(Function<? super Throwable, T>) - Method in class react.RFuture
-
Maps the value of a failed result using func
upon arrival.
- recover(Function<? super Throwable, T>) - Method in class react.Try.Failure
-
- recover(Function<? super Throwable, T>) - Method in class react.Try
-
Maps failed tries through func
, passes success through as is.
- recover(Function<? super Throwable, T>) - Method in class react.Try.Success
-
- remove(AutoCloseable) - Method in class react.Closeable.Set
-
Removes a closeable from this set while leaving its status unchanged.
- remove(Object) - Method in class react.RList
-
- remove(int) - Method in class react.RList
-
- remove(Object) - Method in class react.RMap
-
- remove() - Method in class react.RQueue
-
- remove(Object) - Method in class react.RQueue
-
- remove(Object) - Method in class react.RSet
-
- removeAll(Collection<?>) - Method in class react.RList
-
- removeAll(Collection<?>) - Method in class react.RQueue
-
- removeAll(Collection<?>) - Method in class react.RSet
-
- removeForce(E) - Method in class react.RList
-
Removes the supplied element from the list, forcing a notification to the listeners
regardless of whether the element was in the list or not.
- removeForce(K) - Method in class react.RMap
-
Removes the mapping associated with the supplied key, and notifies registered listeners
regardless of whether a previous mapping existed or not.
- removeForce(E) - Method in class react.RSet
-
Removes the supplied element from the set, forcing a notification to the listeners
regardless of whether the element was already in the set or not.
- result(Try<T>) - Static method in class react.RFuture
-
Returns a future with an already-computed result.
- result() - Method in class react.RFuture
-
Returns the result of this future, or null if it is not yet complete.
- result() - Method in class react.RPromise
-
- retainAll(Collection<?>) - Method in class react.RList
-
- retainAll(Collection<?>) - Method in class react.RQueue
-
- retainAll(Collection<?>) - Method in class react.RSet
-
- RFuture<T> - Class in react
-
Represents an asynchronous result.
- RFuture() - Constructor for class react.RFuture
-
- RFuture.T2<A,B> - Class in react
-
- RFuture.T3<A,B,C> - Class in react
-
- RList<E> - Class in react
-
Provides a reactive model of a list.
- RList(List<E>) - Constructor for class react.RList
-
Creates a reactive list with the supplied underlying list implementation.
- RList.Listener<E> - Class in react
-
Publishes list events to listeners.
- RMap<K,V> - Class in react
-
Provides a reactive model of a map.
- RMap(Map<K, V>) - Constructor for class react.RMap
-
Creates a reactive map with the supplied underlying map implementation.
- RMap.Listener<K,V> - Class in react
-
An interface for publishing map events to listeners.
- RPromise<T> - Class in react
-
Provides a concrete implementation
RFuture
that can be updated with a success or failure
result when it becomes available.
- RPromise() - Constructor for class react.RPromise
-
- RQueue<E> - Class in react
-
Provides a reactive model of a
Queue
.
- RQueue(Queue<E>) - Constructor for class react.RQueue
-
Creates a reactive queue with the supplied underlying queue implementation.
- RQueue.Listener<E> - Class in react
-
Publishes queue events to listeners.
- RSet<E> - Class in react
-
Provides a reactive model of a set.
- RSet(Set<E>) - Constructor for class react.RSet
-
Creates a reactive set with the supplied underlying set implementation.
- RSet.Listener<E> - Class in react
-
An interface for publishing set events to listeners.
- run() - Method in class react.UnitSlot
-