- of(Map<K, V>) - Static method in class com.diffplug.common.rx.RxBiMap
-
Creates an RxMap with the given initial value.
- of(T) - Static method in interface com.diffplug.common.rx.RxBox
-
Creates an RxBox
with the given initial value.
- of(List<T>) - Static method in class com.diffplug.common.rx.RxList
-
Creates an RxList with the given initial value.
- of(Map<K, V>) - Static method in class com.diffplug.common.rx.RxMap
-
Creates an RxMap with the given initial value.
- of(Optional<T>) - Static method in class com.diffplug.common.rx.RxOptional
-
Returns an RxOptional of the given value.
- of(ImmutableList<T>) - Static method in class com.diffplug.common.rx.RxOrderedSet
-
Creates an RxList with the given initial value.
- of(ImmutableList<T>, RxOrderedSet.OnDuplicate) - Static method in class com.diffplug.common.rx.RxOrderedSet
-
Creates an RxList with the given initial value.
- of(Set<T>) - Static method in class com.diffplug.common.rx.RxSet
-
Creates an RxSet with the given initial value.
- of(SortedMap<K, V>) - Static method in class com.diffplug.common.rx.RxSortedMap
-
Creates an RxMap with the given initial value.
- of(Map<K, V>) - Static method in class com.diffplug.common.rx.RxSortedMap
-
Creates an RxMap with the given initial value.
- of(SortedSet<T>) - Static method in class com.diffplug.common.rx.RxSortedSet
-
Creates an RxSet with the given initial value.
- of(Set<T>) - Static method in class com.diffplug.common.rx.RxSortedSet
-
Creates an RxSet with the given initial value.
- ofEmpty() - Static method in class com.diffplug.common.rx.RxBiMap
-
Creates an RxMap with an initially empty value.
- ofEmpty() - Static method in class com.diffplug.common.rx.RxList
-
Creates an RxList with an initially empty value.
- ofEmpty() - Static method in class com.diffplug.common.rx.RxMap
-
Creates an RxMap with an initially empty value.
- ofEmpty() - Static method in class com.diffplug.common.rx.RxOptional
-
Returns an empty RxOptional.
- ofEmpty() - Static method in class com.diffplug.common.rx.RxOrderedSet
-
Creates an RxList with an initially empty value.
- ofEmpty(RxOrderedSet.OnDuplicate) - Static method in class com.diffplug.common.rx.RxOrderedSet
-
Creates an RxList with an initially empty value.
- ofEmpty() - Static method in class com.diffplug.common.rx.RxSet
-
Creates an RxSet with an initially empty value.
- ofEmpty() - Static method in class com.diffplug.common.rx.RxSortedMap
-
Creates an RxMap with an initially empty value.
- ofEmpty() - Static method in class com.diffplug.common.rx.RxSortedSet
-
Creates an RxSet with an initially empty value.
- ofValue(T) - Static method in class com.diffplug.common.rx.RxOptional
-
Returns an empty RxOptional.
- on(Executor) - Static method in class com.diffplug.common.rx.Rx
-
Mechanism for specifying a specific Executor.
- on(Executor, Scheduler) - Static method in class com.diffplug.common.rx.Rx
-
Mechanism for specifying a specific Executor (for ListenableFuture) and Scheduler (for Observable).
- onCompleted() - Method in class com.diffplug.common.rx.Rx
-
- onError(Throwable) - Method in class com.diffplug.common.rx.Rx
-
- onFailure(Consumer<Throwable>) - Static method in class com.diffplug.common.rx.Rx
-
Creates an Rx instance which will call the given consumer whenever the followed stream
or future completes with an error.
- onFailure(Throwable) - Method in class com.diffplug.common.rx.Rx
-
- onNext(T) - Method in class com.diffplug.common.rx.Rx
-
- onSuccess(T) - Method in class com.diffplug.common.rx.Rx
-
- onTerminate(Consumer<Optional<Throwable>>) - Static method in class com.diffplug.common.rx.Rx
-
Creates an Rx instance which will call the given consumer whenever the followed stream
or future completes, whether with an error or not.
- onTerminateLogError(Consumer<Optional<Throwable>>) - Static method in class com.diffplug.common.rx.Rx
-
Creates an Rx instance which will call the given consumer whenever the followed stream
or future completes, whether with an error or not, and the error (if present) will be logged.
- onValue(Consumer<T>) - Static method in class com.diffplug.common.rx.Rx
-
Creates an Rx instance which will call the given consumer whenever a value is received.
- onValueOnFailure(Consumer<T>, Consumer<Throwable>) - Static method in class com.diffplug.common.rx.Rx
-
Creates an Rx instance which will call onValue whenever a value is received,
and onFailure if the stream or future completes with an error.
- onValueOnTerminate(Consumer<T>, Consumer<Optional<Throwable>>) - Static method in class com.diffplug.common.rx.Rx
-
Creates an Rx instance which will call onValue whenever a value is received,
is received, and onTerminate when the future or observable completes, whether with an error or not.
- onValueOnTerminateLogError(Consumer<T>, Consumer<Optional<Throwable>>) - Static method in class com.diffplug.common.rx.Rx
-
Creates an Rx instance which will call the given consumer whenever the followed stream
or future completes, whether with an error or not, and the error (if present) will automatically be logged.
- optionalFrom(ImmutableCollection<T>) - Static method in class com.diffplug.common.rx.Immutables
-
- optionalToSet(Optional<T>) - Static method in class com.diffplug.common.rx.Immutables
-
- rateHzOver(long, TimeUnit) - Method in class com.diffplug.common.rx.RateProbe
-
Returns the average rate in hertz over the specified time period.
- rateHzOverNSamples(int) - Method in class com.diffplug.common.rx.RateProbe
-
Returns the average rate in hertz over the last n samples.
- RateProbe - Class in com.diffplug.common.rx
-
A probe for inspecting rates in reactive systems.
- RateProbe() - Constructor for class com.diffplug.common.rx.RateProbe
-
- readOnly() - Method in interface com.diffplug.common.rx.RxBox
-
Returns a read-only version of this RxBox
.
- Rx<T> - Class in com.diffplug.common.rx
-
- Rx(Consumer<T>, Consumer<Optional<Throwable>>) - Constructor for class com.diffplug.common.rx.Rx
-
- Rx.HasRxExecutor - Interface in com.diffplug.common.rx
-
Marker interface which allows an Executor to specify its own Scheduler.
- Rx.RxExecutor - Class in com.diffplug.common.rx
-
This class holds an instance of Executor (for ListenableFuture) and
Scheduler (for Observable).
- RxBiMap<K,V> - Class in com.diffplug.common.rx
-
- RxBiMap(ImmutableBiMap<K, V>) - Constructor for class com.diffplug.common.rx.RxBiMap
-
Initally holds the given collection.
- RxBox<T> - Interface in com.diffplug.common.rx
-
RxGetter
and
Box
combined in one: a value you can set, get, and subscribe to.
- RxBox.Default<T> - Class in com.diffplug.common.rx
-
Standard implementation of an
RxBox
.
- RxGetter<T> - Interface in com.diffplug.common.rx
-
Represents a value which can be accessed through a traditional
get()
method or by listening to its
Observable
.
- RxList<T> - Class in com.diffplug.common.rx
-
- RxList(ImmutableList<T>) - Constructor for class com.diffplug.common.rx.RxList
-
Initally holds the given collection.
- RxMap<K,V> - Class in com.diffplug.common.rx
-
- RxMap(ImmutableMap<K, V>) - Constructor for class com.diffplug.common.rx.RxMap
-
Initally holds the given collection.
- RxOptional<T> - Class in com.diffplug.common.rx
-
RxBox
<Optional
<T>>
with convenience methods for creating the optional.
- RxOptional(Optional<T>) - Constructor for class com.diffplug.common.rx.RxOptional
-
Initially holds the given value.
- RxOrderedSet<T> - Class in com.diffplug.common.rx
-
- RxOrderedSet(ImmutableList<T>, RxOrderedSet.OnDuplicate) - Constructor for class com.diffplug.common.rx.RxOrderedSet
-
Initally holds the given collection.
- RxOrderedSet.OnDuplicate - Enum in com.diffplug.common.rx
-
Policies for disallowing duplicates.
- RxSet<T> - Class in com.diffplug.common.rx
-
- RxSet(ImmutableSet<T>) - Constructor for class com.diffplug.common.rx.RxSet
-
Initally holds the given collection.
- RxSortedMap<K,V> - Class in com.diffplug.common.rx
-
- RxSortedMap(ImmutableSortedMap<K, V>) - Constructor for class com.diffplug.common.rx.RxSortedMap
-
Initally holds the given collection.
- RxSortedSet<T> - Class in com.diffplug.common.rx
-
- RxSortedSet(ImmutableSortedSet<T>) - Constructor for class com.diffplug.common.rx.RxSortedSet
-
Initally holds the given collection.
- RxSubscriber - Interface in com.diffplug.common.rx
-
An object which can subscribe observables to
Rx
listeners.
- RxTracingPolicy - Interface in com.diffplug.common.rx
-
Plugin which gets notified of every call to
Rx.subscribe
, allowing various kinds of tracing.
- RxTracingPolicy.LogSubscriptionTrace - Class in com.diffplug.common.rx
-
An
RxTracingPolicy
which logs the stack trace of every subscription, so
that it can decorate any exceptions with the stack trace at the time they were subscribed.