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

A

a - Variable in class react.RFuture.T2
 
a - Variable in class react.RFuture.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.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.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(Iterable<? 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
 
bindComplete(Slot<Boolean>) - Method in class react.RFuture

C

c - Variable in class react.RFuture.T3
 
cause - Variable in class react.Try.Failure
 
clear() - Method in class react.RList
 
clear() - Method in class react.RMap
 
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(Collection<? extends RFuture<T>>) - Static method in class react.RFuture
Returns a future containing a list of all success results from futures.
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(Slot<? super T>) - Method in class react.AbstractSignal
 
connect(ValueView.Listener<? 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(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(Slot<? 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.
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(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(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.
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.RSet
 
containsAll(Collection<?>) - Method in class react.RList
 
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.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(Slot<? 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(RSet.Listener<? super E>) - Method in class react.RSet
Disconnects the supplied listener from this set if listen was called with it.
disconnect(Slot<? 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

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.RList
 
equals(Object) - Method in class react.RMap
 
equals(Object) - Method in class react.RSet
 

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, 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
 
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.
hasConnections() - Method in class react.RPromise
Returns true if there are listeners awaiting the completion of this promise.
hashCode() - Method in class react.AbstractValue
 
hashCode() - Method in class react.RList
 
hashCode() - Method in class react.RMap
 
hashCode() - Method in class react.RSet
 
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.RSet
 
isFailure() - Method in class react.Try
Returns try if this is a failed try, false if it is a successful try.
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.RSet
 

J

join(Closeable...) - Static method in class react.Closeable.Util
Creates a closable that closes multiple connections at once.

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<? super 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.RSet.Listener
 
Listener() - Constructor for class react.ValueView.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

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

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 Slot.onEmit(T).
onChange(T, T) - Method in class react.ValueView.Listener
Called when the value to which this listener is bound has changed.
onComplete(Slot<? super Try<T>>) - Method in class react.RFuture
Causes slot to be notified when this future is completed.
onEmit(T) - Method in class react.Slot
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(Slot<? super Throwable>) - Method in class react.RFuture
Causes slot to be notified if/when this future is completed with failure.
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(Slot<? 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(Iterable<? extends ValueView<Boolean>>) - Static method in class react.Values
Returns a value which is the logical OR of the supplied values.

P

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

react - package react
 
Reactor - Class in react
A base class for all reactive classes.
Reactor() - Constructor for class react.Reactor
 
Reactor.RListener - Class in react
The base class for all reactor listeners.
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(Object) - Method in class react.RSet
 
removeAll(Collection<?>) - Method in class react.RList
 
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.
retainAll(Collection<?>) - Method in class react.RList
 
retainAll(Collection<?>) - Method in class react.RSet
 
RFuture<T> - Class in react
Represents an asynchronous result.
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.
RListener() - Constructor for class react.Reactor.RListener
 
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.
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<B>) - 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.
size() - Method in class react.RList
 
size() - Method in class react.RMap
 
size() - Method in class react.RSet
 
sizeView() - Method in class react.RList
Exposes the size of this list as a value.
sizeView() - Method in class react.RMap
Exposes the size of this map as a value.
sizeView() - Method in class react.RSet
Exposes the size of this set 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
 

T

T2(A, B) - Constructor for class react.RFuture.T2
 
T3(A, B, C) - Constructor for class react.RFuture.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.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.RSet
 
toString() - Method in class react.Try.Failure
 
toString() - Method in class react.Try.Success
 
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.
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.
ValueView<T> - Interface in react
A view of a Value, to which listeners may be added, but which one cannot update.
ValueView.Listener<T> - Class in react
Used to observe changes to a value.
A B C D E F G H I J K L M N O P R S T U V 
Skip navigation links

Copyright © 2015. All Rights Reserved.