Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W 

A

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.

B

b - Variable in class react.RFuture.T2
 
b - Variable in class react.RFuture.T3
 
b - Variable in class react.Values.T2
 
b - Variable in class react.Values.T3
 
bindComplete(SignalView.Listener<Boolean>) - Method in class react.RFuture

C

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
Closes con and returns Closeable.Util.NOOP.
close() - Method in class react.Connection
Disconnects this registration.
Closeable - Interface in react
An extension of AutoCloseable chiefly to eliminate the checked exception thrown by Closeable.close().
Closeable.Set - Class in react
Maintains a set of closeables to allow mass operations on them.
Closeable.Util - Class in react
Provides some Closeable-related utilities.
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
Creates a reactive queue backed by an LinkedList.
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.

D

decrementClamp(int, int) - Method in class react.IntValue
Decrements this value by amount, clamping at min if the current value minus amount is less than min.
disconnect(SignalView.Listener<? super T>) - Method in class react.AbstractSignal
 
disconnect(ValueView.Listener<? super T>) - Method in class react.AbstractValue
 
disconnect() - Method in class react.Connection
Deprecated.
Call Connection.close() instead.
disconnect(RList.Listener<? super E>) - Method in class react.RList
Disconnects the supplied listener from this list if listen was called with it.
disconnect(RMap.Listener<? super K, ? super V>) - Method in class react.RMap
Disconnects the supplied listener from this map if listen was called with it.
disconnect(RQueue.Listener<? super E>) - Method in class react.RQueue
Disconnects the supplied listener from this queue if listen was called with it.
disconnect(RSet.Listener<? super E>) - Method in class react.RSet
Disconnects the supplied listener from this set if listen was called with it.
disconnect(SignalView.Listener<? super T>) - Method in interface react.SignalView
Disconnects the supplied slot from this signal if connect was called with it.
disconnect(ValueView.Listener<? super T>) - Method in interface react.ValueView
Disconnects the supplied listener from this value if it's connected.

E

element() - Method in class react.RQueue
 
emit(T) - Method in class react.Signal
Causes this signal to emit the supplied event to connected slots.
emit() - Method in class react.UnitSignal
Causes this signal to emit an event to its connected slots.
entrySet() - Method in class react.RMap
 
equals(Object) - Method in class react.AbstractValue
 
equals(Object) - Method in class react.RFuture.T2
 
equals(Object) - Method in class react.RFuture.T3
 
equals(Object) - Method in class react.RList
 
equals(Object) - Method in class react.RMap
 
equals(Object) - Method in class react.RQueue
 
equals(Object) - Method in class react.RSet
 
equals(Object) - Method in class react.Values.T2
 
equals(Object) - Method in class react.Values.T3
 

F

fail(Throwable) - Method in class react.RPromise
Causes this promise to be completed with failure caused by cause.
failer() - Method in class react.RPromise
Returns a slot that can be used to RPromise.fail(java.lang.Throwable) this promise.
failure(Throwable) - Static method in class react.RFuture
Returns a future with a pre-existing failure value.
failure(Throwable) - Static method in class react.Try
Creates a failed try.
Failure(Throwable) - Constructor for class react.Try.Failure
 
failures() - Method in exception react.MultiFailureException
 
fillInStackTrace() - Method in exception react.MultiFailureException
 
filter(Function<? super T, Boolean>) - Method in class react.AbstractSignal
 
filter(Function<? super T, Boolean>) - Method in interface react.SignalView
Creates a signal that emits a value only when the supplied filter function returns true.
filtered(Function<? super S, Boolean>) - Method in class react.Slot
Returns a slot that is only notified when the signal to which this slot is connected emits a value which causes pred to return true.
flatMap(Function<? super T, ? extends ValueView<M>>) - Method in class react.AbstractValue
 
flatMap(Function<? super T, RFuture<R>>) - Method in class react.RFuture
Maps a successful result to a new result using func when it arrives.
flatMap(Function<? super T, Try<R>>) - Method in class react.Try.Failure
 
flatMap(Function<? super T, Try<R>>) - Method in class react.Try
Maps successful tries through func, passes failure through as is.
flatMap(Function<? super T, Try<R>>) - Method in class react.Try.Success
 
flatMap(Function<? super T, ? extends ValueView<M>>) - Method in interface react.ValueView
Creates a value that flat maps (monadic binds) this value via a function.
FLOAT_VALUE - Static variable in class react.Functions
A function that returns the float value of a number.
forMap(Map<K, ? extends V>, V) - Static method in class react.Functions
Returns a function which performs a map lookup with a default value.
Function<F,T> - Interface in react
Models a single argument function.
Functions - Class in react
Various Function related utility methods.
Functions() - Constructor for class react.Functions
 

G

get(int) - Method in class react.RList
 
get(Object) - Method in class react.RMap
 
get() - Method in class react.Try.Failure
 
get() - Method in class react.Try
Returns the value associated with a successful try, or rethrows the exception if the try failed.
get() - Method in class react.Try.Success
 
get() - Method in class react.Value
 
get() - Method in interface react.ValueView
Returns the current value.
getFailure() - Method in class react.Try.Failure
 
getFailure() - Method in class react.Try
Returns the cause of failure for a failed try.
getFailure() - Method in class react.Try.Success
 
getMessage() - Method in exception react.MultiFailureException
 
getOrElse(K, V) - Method in class react.RMap
Returns the mapping for key or defaultValue if there is no mapping for key.
getView(K) - Method in class react.RMap
Returns a value view that models the mapping of the specified key in this map.
greaterThan(int) - Static method in class react.Functions
Returns a function that computes whether a value is greater than target.
greaterThanEqual(int) - Static method in class react.Functions
Returns a function that computes whether a value is greater than or equal to value.

H

hasConnections() - Method in class react.Reactor
Returns true if this reactor has at least one connection.
hashCode() - Method in class react.AbstractValue
 
hashCode() - Method in class react.RFuture.T2
 
hashCode() - Method in class react.RFuture.T3
 
hashCode() - Method in class react.RList
 
hashCode() - Method in class react.RMap
 
hashCode() - Method in class react.RQueue
 
hashCode() - Method in class react.RSet
 
hashCode() - Method in class react.Values.T2
 
hashCode() - Method in class react.Values.T3
 
holdWeakly() - Method in class react.Connection
Changes this connection to one held by a weak reference.

I

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
 

J

join(Closeable...) - Static method in class react.Closeable.Util
Creates a closable that closes multiple connections at once.
join(Connection...) - Static method in class react.Connection
Returns a single connection which aggregates all of the supplied connections.
join(ValueView<A>, ValueView<B>) - Static method in class react.Values
Returns a reactive value which is triggered when either of a, b emits an event.
join(ValueView<A>, ValueView<B>, ValueView<C>) - Static method in class react.Values
Returns a reactive value which is triggered when either of a, b, c emits an event.

K

keySet() - Method in class react.RMap
 

L

lastIndexOf(Object) - Method in class react.RList
 
lessThan(int) - Static method in class react.Functions
Returns a function that computes whether a value is less than target.
lessThanEqual(int) - Static method in class react.Functions
Returns a function that computes whether a value is less than or equal to target.
lift(Function<T, R>) - Static method in class react.Try
Lifts func, a function on values, to a function on tries.
Listener() - Constructor for class react.RList.Listener
 
Listener() - Constructor for class react.RMap.Listener
 
Listener() - Constructor for class react.RQueue.Listener
 
Listener() - Constructor for class react.RSet.Listener
 
listIterator() - Method in class react.RList
 
listIterator(int) - Method in class react.RList
 

M

map(Function<? super T, M>) - Method in class react.AbstractSignal
 
map(Function<? super T, M>) - Method in class react.AbstractValue
 
map(Function<? super T, R>) - Method in class react.RFuture
Maps the value of a successful result using func upon arrival.
map(Function<? super T, M>) - Method in interface react.SignalView
Creates a signal that maps this signal via a function.
map(Function<? super T, R>) - Method in class react.Try.Failure
 
map(Function<? super T, R>) - Method in class react.Try
Maps successful tries through func, passees failure through as is.
map(Function<? super T, R>) - Method in class react.Try.Success
 
map(Function<? super T, M>) - Method in interface react.ValueView
Creates a value that maps this value via a function.
MultiFailureException - Exception in react
An exception thrown to communicate multiple failures.
MultiFailureException() - Constructor for exception react.MultiFailureException
 

N

next() - Method in class react.AbstractSignal
 
next() - Method in interface react.SignalView
Returns a future that is completed with the next value from this signal.
NON_NULL - Static variable in class react.Functions
A function that returns true for non-null values and false for null values.
NOOP - Static variable in class react.Closeable.Util
A closable which no-ops on Closeable.Util.close(react.Closeable) and throws an exception for all other methods.
NOOP - Static variable in class react.Slots
A slot that does nothing.
NOT - Static variable in class react.Functions
Implements boolean not.
not(ValueView<Boolean>) - Static method in class react.Values
Returns a value which is the logical NOT of the supplied value.

O

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
Allows a slot to be used as a ValueView.Listener by passing just the new value through to SignalView.Listener.onEmit(T).
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.

P

peek() - Method in class react.RQueue
 
poll() - Method in class react.RQueue
 
prefix(String) - Static method in class react.Functions
Returns a function which returns its argument as a string with prefix prepended.
printStackTrace(PrintStream) - Method in exception react.MultiFailureException
 
printStackTrace(PrintWriter) - Method in exception react.MultiFailureException
 
put(K, V) - Method in class react.RMap
 
putAll(Map<? extends K, ? extends V>) - Method in class react.RMap
 
putForce(K, V) - Method in class react.RMap
Updates the mapping with the supplied key and value, and notifies registered listeners regardless of whether the new value is equal to the old value.

R

RCollection<T> - Class in react
A base class for reactive collections (RList, RMap, RSet).
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
 

S

sequence(Collection<? extends RFuture<T>>) - Static method in class react.RFuture
Returns a future containing a list of all success results from futures if all of the futures complete successfully, or a MultiFailureException aggregating all failures, if any of the futures fails.
sequence(RFuture<A>, RFuture<B>) - Static method in class react.RFuture
Returns a future containing the results of a and b if both futures complete successfully, or a MultiFailureException aggregating all failures, if either of the futures fails.
sequence(RFuture<A>, RFuture<B>, RFuture<C>) - Static method in class react.RFuture
Returns a future containing the results of a, b, and c if all futures complete successfully, or a MultiFailureException aggregating all failures, if any of the futures fails.
Set() - Constructor for class react.Closeable.Set
 
set(int, E) - Method in class react.RList
 
Signal<T> - Class in react
A signal that emits events of type T.
Signal() - Constructor for class react.Signal
 
SignalView<T> - Interface in react
A view of a Signal, on which slots may listen, but to which one cannot emit events.
SignalView.Listener<T> - Interface in react
Used to observe events from a signal.
size() - Method in class react.RCollection
Returns the number of elements in this collection.
size() - Method in class react.RList
 
size() - Method in class react.RMap
 
size() - Method in class react.RQueue
 
size() - Method in class react.RSet
 
sizeView() - Method in class react.RCollection
Exposes the size of this collection as a value.
slot() - Method in class react.Signal
Returns a slot which can be used to wire this signal to the emissions of a Signal or another value.
Slot<T> - Class in react
Reacts to signal emissions.
Slot() - Constructor for class react.Slot
 
slot() - Method in class react.UnitSignal
Returns a slot which can be used to wire this signal to the emissions of a Signal or another value.
slot() - Method in class react.Value
Returns a slot which can be used to wire this value to the emissions of a Signal or another value.
Slots - Class in react
Provides utility methods for Slots.
subList(int, int) - Method in class react.RList
 
succeed(T) - Method in class react.RPromise
Causes this promise to be completed successfully with value.
succeeder() - Method in class react.RPromise
Returns a slot that can be used to RPromise.succeed(T) this promise.
success(T) - Static method in class react.RFuture
Returns a future with a pre-existing success value.
success() - Static method in class react.RFuture
Returns a future result for a Void method.
success(T) - Static method in class react.Try
Creates a successful try.
Success(T) - Constructor for class react.Try.Success
 
suffix(String) - Static method in class react.Functions
Returns a function which returns its argument as a string with suffix appended.

T

T2(A, B) - Constructor for class react.RFuture.T2
 
T2(A, B) - Constructor for class react.Values.T2
 
T3(A, B, C) - Constructor for class react.RFuture.T3
 
T3(A, B, C) - Constructor for class react.Values.T3
 
TO_STRING - Static variable in class react.Functions
A function that applies String.valueOf(java.lang.Object) to its argument.
toArray() - Method in class react.RList
 
toArray(T[]) - Method in class react.RList
 
toArray() - Method in class react.RQueue
 
toArray(T[]) - Method in class react.RQueue
 
toArray() - Method in class react.RSet
 
toArray(T[]) - Method in class react.RSet
 
toggler(SignalView<?>, boolean) - Static method in class react.Values
Creates a boolean value that is toggled every time the supplied signal fires.
toSlot(Runnable) - Static method in class react.UnitSlot
Wraps the supplied runnable in a UnitSlot.
toString() - Method in class react.AbstractValue
 
toString() - Method in class react.RList
 
toString() - Method in class react.RMap
 
toString() - Method in class react.RQueue
 
toString() - Method in class react.RSet
 
toString() - Method in class react.Try.Failure
 
toString() - Method in class react.Try.Success
 
toString() - Method in class react.Values.T2
 
toString() - Method in class react.Values.T3
 
trace(String, Slot<T>) - Static method in class react.Slots
Returns a slot that logs the supplied message (via System.err) with the emitted value appended to it before passing the emitted value on to slot.
transform(Function<Try<? super T>, Try<R>>) - Method in class react.RFuture
Transforms this future by mapping its result upon arrival.
Try<T> - Class in react
Represents a computation that either provided a result, or failed with an exception.
Try.Failure<T> - Class in react
Represents a failed try.
Try.Success<T> - Class in react
Represents a successful try.

U

UnitSignal - Class in react
A signal that emits an event with no associated data.
UnitSignal() - Constructor for class react.UnitSignal
 
UnitSlot - Class in react
A Slot for use when the type of emitted signal is ignored.
UnitSlot() - Constructor for class react.UnitSlot
 
update(T) - Method in class react.Value
Updates this instance with the supplied value.
updateForce(T) - Method in class react.Value
Updates this instance with the supplied value.
Util() - Constructor for class react.Closeable.Util
 

V

value - Variable in class react.Try.Success
 
Value<T> - Class in react
A container for a single value, which may be observed for changes.
Value(T) - Constructor for class react.Value
Creates an instance with the supplied starting value.
values() - Method in class react.RMap
 
Values - Class in react
Provides utility methods for Values.
Values.T2<A,B> - Class in react
Values.T3<A,B,C> - Class in react
ValueView<T> - Interface in react
A view of a Value, to which listeners may be added, but which one cannot update.
ValueView.Listener<T> - Interface in react
Used to observe changes to a value.

W

when(Function<? super T, Boolean>) - Method in class react.AbstractValue
 
when(Function<? super T, Boolean>) - Method in interface react.ValueView
Returns a future which is completed with this value when the value meeds cond.
A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links

Copyright © 2017. All rights reserved.