Modifier and Type | Class and Description |
---|---|
class |
AbstractValue<T>
Handles the machinery of connecting listeners to a value and notifying them, without exposing a
public interface for updating the value.
|
class |
IntValue
A
Value specialized for ints, which has some useful methods. |
class |
Value<T>
A container for a single value, which may be observed for changes.
|
Modifier and Type | Method and Description |
---|---|
static ValueView<Boolean> |
Values.and(Collection<? extends ValueView<Boolean>> values)
Returns a value which is the logical AND of the supplied values.
|
static ValueView<Boolean> |
Values.and(ValueView<Boolean>... values)
Returns a value which is the logical AND of the supplied values.
|
static ValueView<Boolean> |
Values.and(ValueView<Boolean> one,
ValueView<Boolean> two)
Returns a value which is the logical AND of the supplied values.
|
static <T> ValueView<T> |
Values.asValue(SignalView<T> signal,
T initial)
Returns a view of the supplied signal as a value.
|
ValueView<Boolean> |
RMap.containsKeyView(K key)
Returns a value view that models whether the specified key is contained in this map.
|
ValueView<Boolean> |
RSet.containsView(E elem)
Returns a value that models whether the specified element is contained in this map.
|
<M> ValueView<M> |
AbstractValue.flatMap(Function<? super T,? extends ValueView<M>> func) |
<M> ValueView<M> |
ValueView.flatMap(Function<? super T,? extends ValueView<M>> func)
Creates a value that flat maps (monadic binds) this value via a function.
|
ValueView<V> |
RMap.getView(K key)
Returns a value view that models the mapping of the specified key in this map.
|
ValueView<Boolean> |
RFuture.isComplete()
Returns a value that indicates whether this future has completed.
|
ValueView<Boolean> |
RCollection.isEmptyView()
Returns a reactive value which is true when this collection is empty, false otherwise.
|
ValueView<Boolean> |
RCollection.isNonEmptyView()
Returns a reactive value which is false when this collection is empty, true otherwise.
|
static <A,B> ValueView<Values.T2<A,B>> |
Values.join(ValueView<A> a,
ValueView<B> b)
Returns a reactive value which is triggered when either of
a, b emits an event. |
static <A,B,C> ValueView<Values.T3<A,B,C>> |
Values.join(ValueView<A> a,
ValueView<B> b,
ValueView<C> c)
Returns a reactive value which is triggered when either of
a, b, c emits an event. |
<M> ValueView<M> |
AbstractValue.map(Function<? super T,M> func) |
<M> ValueView<M> |
ValueView.map(Function<? super T,M> func)
Creates a value that maps this value via a function.
|
static ValueView<Boolean> |
Values.not(ValueView<Boolean> value)
Returns a value which is the logical NOT of the supplied value.
|
static ValueView<Boolean> |
Values.or(Collection<? extends ValueView<Boolean>> values)
Returns a value which is the logical OR of the supplied values.
|
static ValueView<Boolean> |
Values.or(ValueView<Boolean>... values)
Returns a value which is the logical OR of the supplied values.
|
static ValueView<Boolean> |
Values.or(ValueView<Boolean> one,
ValueView<Boolean> two)
Returns a value which is the logical OR of the supplied values.
|
ValueView<Integer> |
RCollection.sizeView()
Exposes the size of this collection as a value.
|
static ValueView<Boolean> |
Values.toggler(SignalView<?> signal,
boolean initial)
Creates a boolean value that is toggled every time the supplied signal fires.
|
Modifier and Type | Method and Description |
---|---|
static ValueView<Boolean> |
Values.and(ValueView<Boolean>... values)
Returns a value which is the logical AND of the supplied values.
|
static ValueView<Boolean> |
Values.and(ValueView<Boolean> one,
ValueView<Boolean> two)
Returns a value which is the logical AND of the supplied values.
|
static ValueView<Boolean> |
Values.and(ValueView<Boolean> one,
ValueView<Boolean> two)
Returns a value which is the logical AND of the supplied values.
|
static <A,B> ValueView<Values.T2<A,B>> |
Values.join(ValueView<A> a,
ValueView<B> b)
Returns a reactive value which is triggered when either of
a, b emits an event. |
static <A,B> ValueView<Values.T2<A,B>> |
Values.join(ValueView<A> a,
ValueView<B> b)
Returns a reactive value which is triggered when either of
a, b emits an event. |
static <A,B,C> ValueView<Values.T3<A,B,C>> |
Values.join(ValueView<A> a,
ValueView<B> b,
ValueView<C> c)
Returns a reactive value which is triggered when either of
a, b, c emits an event. |
static <A,B,C> ValueView<Values.T3<A,B,C>> |
Values.join(ValueView<A> a,
ValueView<B> b,
ValueView<C> c)
Returns a reactive value which is triggered when either of
a, b, c emits an event. |
static <A,B,C> ValueView<Values.T3<A,B,C>> |
Values.join(ValueView<A> a,
ValueView<B> b,
ValueView<C> c)
Returns a reactive value which is triggered when either of
a, b, c emits an event. |
static ValueView<Boolean> |
Values.not(ValueView<Boolean> value)
Returns a value which is the logical NOT of the supplied value.
|
static ValueView<Boolean> |
Values.or(ValueView<Boolean>... values)
Returns a value which is the logical OR of the supplied values.
|
static ValueView<Boolean> |
Values.or(ValueView<Boolean> one,
ValueView<Boolean> two)
Returns a value which is the logical OR of the supplied values.
|
static ValueView<Boolean> |
Values.or(ValueView<Boolean> one,
ValueView<Boolean> two)
Returns a value which is the logical OR of the supplied values.
|
Modifier and Type | Method and Description |
---|---|
static ValueView<Boolean> |
Values.and(Collection<? extends ValueView<Boolean>> values)
Returns a value which is the logical AND of the supplied values.
|
<M> ValueView<M> |
AbstractValue.flatMap(Function<? super T,? extends ValueView<M>> func) |
<M> ValueView<M> |
ValueView.flatMap(Function<? super T,? extends ValueView<M>> func)
Creates a value that flat maps (monadic binds) this value via a function.
|
static ValueView<Boolean> |
Values.or(Collection<? extends ValueView<Boolean>> values)
Returns a value which is the logical OR of the supplied values.
|
Copyright © 2017. All rights reserved.