public final class MappingBindings extends Object
Modifier and Type | Method and Description |
---|---|
static <T> BooleanBinding |
mapAsBoolean(ObservableValue<T> observable,
Function<T,Boolean> mapper)
Converts an observable into a boolean binding.
|
static <T> BooleanBinding |
mapAsBoolean(ObservableValue<T> observable,
ObservableValue<Function<T,Boolean>> mapper)
Converts an observable into a boolean binding.
|
static <T> DoubleBinding |
mapAsDouble(ObservableValue<T> observable,
Function<T,Double> mapper)
Converts an observable into a double binding.
|
static <T> DoubleBinding |
mapAsDouble(ObservableValue<T> observable,
ObservableValue<Function<T,Double>> mapper)
Converts an observable into a double binding.
|
static <T> FloatBinding |
mapAsFloat(ObservableValue<T> observable,
Function<T,Float> mapper)
Converts an observable into a float binding.
|
static <T> FloatBinding |
mapAsFloat(ObservableValue<T> observable,
ObservableValue<Function<T,Float>> mapper)
Converts an observable into a float binding.
|
static <T> IntegerBinding |
mapAsInteger(ObservableValue<T> observable,
Function<T,Integer> mapper)
Converts an observable into an integer binding.
|
static <T> IntegerBinding |
mapAsInteger(ObservableValue<T> observable,
ObservableValue<Function<T,Integer>> mapper)
Converts an observable into an integer binding.
|
static <T> LongBinding |
mapAsLong(ObservableValue<T> observable,
Function<T,Long> mapper)
Converts an observable into a long binding.
|
static <T> LongBinding |
mapAsLong(ObservableValue<T> observable,
ObservableValue<Function<T,Long>> mapper)
Converts an observable into a long binding.
|
static <T,R> ObjectBinding<R> |
mapAsObject(ObservableValue<T> observable,
Function<T,R> mapper)
Converts an observable into an object binding.
|
static <T,R> ObjectBinding<R> |
mapAsObject(ObservableValue<T> observable,
ObservableValue<Function<T,R>> mapper)
Converts an observable into an object binding.
|
static <T> StringBinding |
mapAsString(ObservableValue<T> observable,
Function<T,String> mapper)
Converts an observable into a string binding.
|
static <T> StringBinding |
mapAsString(ObservableValue<T> observable,
ObservableValue<Function<T,String>> mapper)
Converts an observable into a string binding.
|
static BooleanBinding |
mapBoolean(ObservableValue<Boolean> observable,
Function<Boolean,Boolean> mapper)
Creates a boolean binding containing the value of the mapper function applied to the source observable.
|
static BooleanBinding |
mapBoolean(ObservableValue<Boolean> observable,
Function<Boolean,Boolean> mapper,
Boolean defaultValue)
Creates a boolean binding containing the value of the mapper function applied to the source observable.
|
static BooleanBinding |
mapBoolean(ObservableValue<Boolean> observable,
Function<Boolean,Boolean> mapper,
Supplier<Boolean> supplier)
Creates a boolean binding containing the value of the mapper function applied to the source observable.
|
static BooleanBinding |
mapBoolean(ObservableValue<Boolean> observable,
ObservableValue<Function<Boolean,Boolean>> mapper)
Creates a boolean binding containing the value of the mapper function applied to the source observable.
|
static BooleanBinding |
mapBoolean(ObservableValue<Boolean> observable,
ObservableValue<Function<Boolean,Boolean>> mapper,
Boolean defaultValue)
Creates a boolean binding containing the value of the mapper function applied to the source observable.
|
static BooleanBinding |
mapBoolean(ObservableValue<Boolean> observable,
ObservableValue<Function<Boolean,Boolean>> mapper,
Supplier<Boolean> supplier)
Creates a boolean binding containing the value of the mapper function applied to the source observable.
|
static BooleanBinding |
mapBooleans(ObservableValue<Boolean> observable1,
ObservableValue<Boolean> observable2,
Boolean defaultValue,
BiFunction<Boolean,Boolean,Boolean> mapper)
Returns a boolean binding whose value is the combination of two observable values.
|
static BooleanBinding |
mapBooleans(ObservableValue<Boolean> observable1,
ObservableValue<Boolean> observable2,
Boolean defaultValue,
ObservableValue<BiFunction<Boolean,Boolean,Boolean>> mapper)
Returns a boolean binding whose value is the combination of two observable values.
|
static BooleanBinding |
mapBooleans(ObservableValue<Boolean> observable1,
ObservableValue<Boolean> observable2,
Supplier<Boolean> supplier,
BiFunction<Boolean,Boolean,Boolean> mapper)
Returns a boolean binding whose value is the combination of two observable values.
|
static BooleanBinding |
mapBooleans(ObservableValue<Boolean> observable1,
ObservableValue<Boolean> observable2,
Supplier<Boolean> supplier,
ObservableValue<BiFunction<Boolean,Boolean,Boolean>> mapper)
Returns a boolean binding whose value is the combination of two observable values.
|
static DoubleBinding |
mapDouble(ObservableValue<? extends Number> observable)
Creates a double binding containing the value of the mapper function applied to the source observable.
|
static DoubleBinding |
mapDouble(ObservableValue<? extends Number> observable,
Double defaultValue)
Creates a double binding containing the value of the mapper function applied to the source observable.
|
static DoubleBinding |
mapDouble(ObservableValue<? extends Number> observable,
Supplier<Double> supplier)
Creates a double binding containing the value of the mapper function applied to the source observable.
|
static DoubleBinding |
mapDouble(ObservableValue<Double> observable,
Function<Double,Double> mapper)
Creates a double binding containing the value of the mapper function applied to the source observable.
|
static DoubleBinding |
mapDouble(ObservableValue<Double> observable,
Function<Double,Double> mapper,
Double defaultValue)
Creates a double binding containing the value of the mapper function applied to the source observable.
|
static DoubleBinding |
mapDouble(ObservableValue<Double> observable,
Function<Double,Double> mapper,
Supplier<Double> supplier)
Creates a double binding containing the value of the mapper function applied to the source observable.
|
static DoubleBinding |
mapDouble(ObservableValue<Double> observable,
ObservableValue<Function<Double,Double>> mapper)
Creates a double binding containing the value of the mapper function applied to the source observable.
|
static DoubleBinding |
mapDouble(ObservableValue<Double> observable,
ObservableValue<Function<Double,Double>> mapper,
Double defaultValue)
Creates a double binding containing the value of the mapper function applied to the source observable.
|
static DoubleBinding |
mapDouble(ObservableValue<Double> observable,
ObservableValue<Function<Double,Double>> mapper,
Supplier<Double> supplier)
Creates a double binding containing the value of the mapper function applied to the source observable.
|
static DoubleBinding |
mapDoubles(ObservableValue<? extends Number> observable1,
ObservableValue<? extends Number> observable2,
Double defaultValue,
BiFunction<? super Number,? super Number,Double> mapper)
Returns a double binding whose value is the combination of two observable values.
|
static DoubleBinding |
mapDoubles(ObservableValue<? extends Number> observable1,
ObservableValue<? extends Number> observable2,
Double defaultValue,
ObservableValue<BiFunction<? super Number,? super Number,Double>> mapper)
Returns a double binding whose value is the combination of two observable values.
|
static DoubleBinding |
mapDoubles(ObservableValue<? extends Number> observable1,
ObservableValue<? extends Number> observable2,
Supplier<Double> supplier,
BiFunction<? super Number,? super Number,Double> mapper)
Returns a double binding whose value is the combination of two observable values.
|
static DoubleBinding |
mapDoubles(ObservableValue<? extends Number> observable1,
ObservableValue<? extends Number> observable2,
Supplier<Double> supplier,
ObservableValue<BiFunction<? super Number,? super Number,Double>> mapper)
Returns a double binding whose value is the combination of two observable values.
|
static FloatBinding |
mapFloat(ObservableValue<? extends Number> observable)
Creates a float binding containing the value of the mapper function applied to the source observable.
|
static FloatBinding |
mapFloat(ObservableValue<? extends Number> observable,
Float defaultValue)
Creates a float binding containing the value of the mapper function applied to the source observable.
|
static FloatBinding |
mapFloat(ObservableValue<? extends Number> observable,
Supplier<Float> supplier)
Creates a float binding containing the value of the mapper function applied to the source observable.
|
static FloatBinding |
mapFloat(ObservableValue<Float> observable,
Function<Float,Float> mapper)
Creates a float binding containing the value of the mapper function applied to the source observable.
|
static FloatBinding |
mapFloat(ObservableValue<Float> observable,
Function<Float,Float> mapper,
Float defaultValue)
Creates a float binding containing the value of the mapper function applied to the source observable.
|
static FloatBinding |
mapFloat(ObservableValue<Float> observable,
Function<Float,Float> mapper,
Supplier<Float> supplier)
Creates a float binding containing the value of the mapper function applied to the source observable.
|
static FloatBinding |
mapFloat(ObservableValue<Float> observable,
ObservableValue<Function<Float,Float>> mapper)
Creates a float binding containing the value of the mapper function applied to the source observable.
|
static FloatBinding |
mapFloat(ObservableValue<Float> observable,
ObservableValue<Function<Float,Float>> mapper,
Float defaultValue)
Creates a float binding containing the value of the mapper function applied to the source observable.
|
static FloatBinding |
mapFloat(ObservableValue<Float> observable,
ObservableValue<Function<Float,Float>> mapper,
Supplier<Float> supplier)
Creates a float binding containing the value of the mapper function applied to the source observable.
|
static FloatBinding |
mapFloats(ObservableValue<? extends Number> observable1,
ObservableValue<? extends Number> observable2,
Float defaultValue,
BiFunction<? super Number,? super Number,Float> mapper)
Returns a float binding whose value is the combination of two observable values.
|
static FloatBinding |
mapFloats(ObservableValue<? extends Number> observable1,
ObservableValue<? extends Number> observable2,
Float defaultValue,
ObservableValue<BiFunction<? super Number,? super Number,Float>> mapper)
Returns a float binding whose value is the combination of two observable values.
|
static FloatBinding |
mapFloats(ObservableValue<? extends Number> observable1,
ObservableValue<? extends Number> observable2,
Supplier<Float> supplier,
BiFunction<? super Number,? super Number,Float> mapper)
Returns a float binding whose value is the combination of two observable values.
|
static FloatBinding |
mapFloats(ObservableValue<? extends Number> observable1,
ObservableValue<? extends Number> observable2,
Supplier<Float> supplier,
ObservableValue<BiFunction<? super Number,? super Number,Float>> mapper)
Returns a float binding whose value is the combination of two observable values.
|
static IntegerBinding |
mapInteger(ObservableValue<? extends Number> observable)
Creates an integer binding containing the value of the mapper function applied to the source observable.
|
static IntegerBinding |
mapInteger(ObservableValue<? extends Number> observable,
Integer defaultValue)
Creates an integer binding containing the value of the mapper function applied to the source observable.
|
static IntegerBinding |
mapInteger(ObservableValue<? extends Number> observable,
Supplier<Integer> supplier)
Creates an integer binding containing the value of the mapper function applied to the source observable.
|
static IntegerBinding |
mapInteger(ObservableValue<Integer> observable,
Function<Integer,Integer> mapper)
Creates an integer binding containing the value of the mapper function applied to the source observable.
|
static IntegerBinding |
mapInteger(ObservableValue<Integer> observable,
Function<Integer,Integer> mapper,
Integer defaultValue)
Creates an integer binding containing the value of the mapper function applied to the source observable.
|
static IntegerBinding |
mapInteger(ObservableValue<Integer> observable,
Function<Integer,Integer> mapper,
Supplier<Integer> supplier)
Creates an integer binding containing the value of the mapper function applied to the source observable.
|
static IntegerBinding |
mapInteger(ObservableValue<Integer> observable,
ObservableValue<Function<Integer,Integer>> mapper)
Creates an integer binding containing the value of the mapper function applied to the source observable.
|
static IntegerBinding |
mapInteger(ObservableValue<Integer> observable,
ObservableValue<Function<Integer,Integer>> mapper,
Integer defaultValue)
Creates an integer binding containing the value of the mapper function applied to the source observable.
|
static IntegerBinding |
mapInteger(ObservableValue<Integer> observable,
ObservableValue<Function<Integer,Integer>> mapper,
Supplier<Integer> supplier)
Creates an integer binding containing the value of the mapper function applied to the source observable.
|
static IntegerBinding |
mapIntegers(ObservableValue<? extends Number> observable1,
ObservableValue<? extends Number> observable2,
Integer defaultValue,
BiFunction<? super Number,? super Number,Integer> mapper)
Returns an integer binding whose value is the combination of two observable values.
|
static IntegerBinding |
mapIntegers(ObservableValue<? extends Number> observable1,
ObservableValue<? extends Number> observable2,
Integer defaultValue,
ObservableValue<BiFunction<? super Number,? super Number,Integer>> mapper)
Returns an integer binding whose value is the combination of two observable values.
|
static IntegerBinding |
mapIntegers(ObservableValue<? extends Number> observable1,
ObservableValue<? extends Number> observable2,
Supplier<Integer> supplier,
BiFunction<? super Number,? super Number,Integer> mapper)
Returns an integer binding whose value is the combination of two observable values.
|
static IntegerBinding |
mapIntegers(ObservableValue<? extends Number> observable1,
ObservableValue<? extends Number> observable2,
Supplier<Integer> supplier,
ObservableValue<BiFunction<? super Number,? super Number,Integer>> mapper)
Returns an integer binding whose value is the combination of two observable values.
|
static <S,T> ObservableList<T> |
mapList(ObservableList<? super S> source,
Function<S,T> mapper)
Creates an observable list where all elements of the source list are mapped by the supplied function.
|
static <S,T> ObservableList<T> |
mapList(ObservableList<S> source,
ObservableValue<Function<S,T>> mapper)
Creates an observable list where all elements of the source list are mapped by the supplied function.
|
static LongBinding |
mapLong(ObservableValue<? extends Number> observable)
Creates a long binding containing the value of the mapper function applied to the source observable.
|
static LongBinding |
mapLong(ObservableValue<? extends Number> observable,
Long defaultValue)
Creates a long binding containing the value of the mapper function applied to the source observable.
|
static LongBinding |
mapLong(ObservableValue<? extends Number> observable,
Supplier<Long> supplier)
Creates a long binding containing the value of the mapper function applied to the source observable.
|
static LongBinding |
mapLong(ObservableValue<Long> observable,
Function<Long,Long> mapper)
Creates a long binding containing the value of the mapper function applied to the source observable.
|
static LongBinding |
mapLong(ObservableValue<Long> observable,
Function<Long,Long> mapper,
Long defaultValue)
Creates a long binding containing the value of the mapper function applied to the source observable.
|
static LongBinding |
mapLong(ObservableValue<Long> observable,
Function<Long,Long> mapper,
Supplier<Long> supplier)
Creates a long binding containing the value of the mapper function applied to the source observable.
|
static LongBinding |
mapLong(ObservableValue<Long> observable,
ObservableValue<Function<Long,Long>> mapper)
Creates a long binding containing the value of the mapper function applied to the source observable.
|
static LongBinding |
mapLong(ObservableValue<Long> observable,
ObservableValue<Function<Long,Long>> mapper,
Long defaultValue)
Creates a long binding containing the value of the mapper function applied to the source observable.
|
static LongBinding |
mapLong(ObservableValue<Long> observable,
ObservableValue<Function<Long,Long>> mapper,
Supplier<Long> supplier)
Creates a long binding containing the value of the mapper function applied to the source observable.
|
static LongBinding |
mapLongs(ObservableValue<? extends Number> observable1,
ObservableValue<? extends Number> observable2,
Long defaultValue,
BiFunction<? super Number,? super Number,Long> mapper)
Returns a long binding whose value is the combination of two observable values.
|
static LongBinding |
mapLongs(ObservableValue<? extends Number> observable1,
ObservableValue<? extends Number> observable2,
Long defaultValue,
ObservableValue<BiFunction<? super Number,? super Number,Long>> mapper)
Returns a long binding whose value is the combination of two observable values.
|
static LongBinding |
mapLongs(ObservableValue<? extends Number> observable1,
ObservableValue<? extends Number> observable2,
Supplier<Long> supplier,
BiFunction<? super Number,? super Number,Long> mapper)
Returns a long binding whose value is the combination of two observable values.
|
static LongBinding |
mapLongs(ObservableValue<? extends Number> observable1,
ObservableValue<? extends Number> observable2,
Supplier<Long> supplier,
ObservableValue<BiFunction<? super Number,? super Number,Long>> mapper)
Returns a long binding whose value is the combination of two observable values.
|
static <T,R> ObjectBinding<R> |
mapObject(ObservableValue<T> observable,
Function<? super T,? extends R> mapper)
Creates an object binding containing the value of the mapper function applied to the source observable.
|
static <T,R> ObjectBinding<R> |
mapObject(ObservableValue<T> observable,
Function<? super T,? extends R> mapper,
R defaultValue)
Creates an object binding containing the value of the mapper function applied to the source observable.
|
static <T,R> ObjectBinding<R> |
mapObject(ObservableValue<T> observable,
Function<? super T,? extends R> mapper,
Supplier<R> supplier)
Creates an object binding containing the value of the mapper function applied to the source observable.
|
static <T,R> ObjectBinding<R> |
mapObject(ObservableValue<T> observable,
ObservableValue<Function<? super T,? extends R>> mapper)
Creates an object binding containing the value of the mapper function applied to the source observable.
|
static <T,R> ObjectBinding<R> |
mapObject(ObservableValue<T> observable,
ObservableValue<Function<? super T,? extends R>> mapper,
R defaultValue)
Creates an object binding containing the value of the mapper function applied to the source observable.
|
static <T,R> ObjectBinding<R> |
mapObject(ObservableValue<T> observable,
ObservableValue<Function<? super T,? extends R>> mapper,
Supplier<R> supplier)
Creates an object binding containing the value of the mapper function applied to the source observable.
|
static <A,B,R> ObjectBinding<R> |
mapObjects(ObservableValue<A> observable1,
ObservableValue<B> observable2,
R defaultValue,
BiFunction<? super A,? super B,R> mapper)
Returns an object binding whose value is the combination of two observable values.
|
static <A,B,R> ObjectBinding<R> |
mapObjects(ObservableValue<A> observable1,
ObservableValue<B> observable2,
R defaultValue,
ObservableValue<BiFunction<? super A,? super B,R>> mapper)
Returns an object binding whose value is the combination of two observable values.
|
static <A,B,R> ObjectBinding<R> |
mapObjects(ObservableValue<A> observable1,
ObservableValue<B> observable2,
Supplier<R> supplier,
BiFunction<? super A,? super B,R> mapper)
Returns an object binding whose value is the combination of two observable values.
|
static <A,B,R> ObjectBinding<R> |
mapObjects(ObservableValue<A> observable1,
ObservableValue<B> observable2,
Supplier<R> supplier,
ObservableValue<BiFunction<? super A,? super B,R>> mapper)
Returns an object binding whose value is the combination of two observable values.
|
static StringBinding |
mapString(ObservableValue<String> observable,
Function<String,String> mapper)
Creates a string binding containing the value of the mapper function applied to the source observable.
|
static StringBinding |
mapString(ObservableValue<String> observable,
Function<String,String> mapper,
String defaultValue)
Creates a string binding containing the value of the mapper function applied to the source observable.
|
static StringBinding |
mapString(ObservableValue<String> observable,
Function<String,String> mapper,
Supplier<String> supplier)
Creates a string binding containing the value of the mapper function applied to the source observable.
|
static StringBinding |
mapString(ObservableValue<String> observable,
ObservableValue<Function<String,String>> mapper)
Creates a string binding containing the value of the mapper function applied to the source observable.
|
static StringBinding |
mapString(ObservableValue<String> observable,
ObservableValue<Function<String,String>> mapper,
String defaultValue)
Creates a string binding containing the value of the mapper function applied to the source observable.
|
static StringBinding |
mapString(ObservableValue<String> observable,
ObservableValue<Function<String,String>> mapper,
Supplier<String> supplier)
Creates a string binding containing the value of the mapper function applied to the source observable.
|
static StringBinding |
mapStrings(ObservableValue<String> observable1,
ObservableValue<String> observable2,
String defaultValue,
BiFunction<String,String,String> mapper)
Returns a string binding whose value is the combination of two observable values.
|
static StringBinding |
mapStrings(ObservableValue<String> observable1,
ObservableValue<String> observable2,
String defaultValue,
ObservableValue<BiFunction<String,String,String>> mapper)
Returns a string binding whose value is the combination of two observable values.
|
static StringBinding |
mapStrings(ObservableValue<String> observable1,
ObservableValue<String> observable2,
Supplier<String> supplier,
BiFunction<String,String,String> mapper)
Returns a string binding whose value is the combination of two observable values.
|
static StringBinding |
mapStrings(ObservableValue<String> observable1,
ObservableValue<String> observable2,
Supplier<String> supplier,
ObservableValue<BiFunction<String,String,String>> mapper)
Returns a string binding whose value is the combination of two observable values.
|
static BooleanBinding |
mapToBoolean(ObservableObjectValue<Boolean> observable)
Converts a boolean object observable value into a boolean binding.
|
static DoubleBinding |
mapToDouble(ObservableObjectValue<Double> observable)
Converts a double object observable value into a double binding.
|
static FloatBinding |
mapToFloat(ObservableObjectValue<Float> observable)
Converts a float object observable value into a float binding.
|
static IntegerBinding |
mapToInteger(ObservableObjectValue<Integer> observable)
Converts a integer object observable value into a integer binding.
|
static LongBinding |
mapToLong(ObservableObjectValue<Long> observable)
Converts a long object observable value into a long binding.
|
static ObjectBinding<Boolean> |
mapToObject(ObservableBooleanValue observable)
Converts a boolean object observable value into an object binding.
|
static ObjectBinding<Double> |
mapToObject(ObservableDoubleValue observable)
Converts a double object observable value into an object binding.
|
static ObjectBinding<Float> |
mapToObject(ObservableFloatValue observable)
Converts a float object observable value into an object binding.
|
static ObjectBinding<Integer> |
mapToObject(ObservableIntegerValue observable)
Converts a integer object observable value into an object binding.
|
static ObjectBinding<Long> |
mapToObject(ObservableLongValue observable)
Converts a long object observable value into an object binding.
|
static ObjectBinding<String> |
mapToObject(ObservableStringValue observable)
Converts a string object observable value into an object binding.
|
static StringBinding |
mapToString(ObservableObjectValue<String> observable)
Converts a literal object observable value into a string binding.
|
public static <T,R> ObjectBinding<R> mapAsObject(ObservableValue<T> observable, Function<T,R> mapper)
observable
- the observable to be converted.mapper
- a non-interfering, stateless function to apply to the observable value.public static <T,R> ObjectBinding<R> mapAsObject(ObservableValue<T> observable, ObservableValue<Function<T,R>> mapper)
observable
- the observable to be converted.mapper
- a non-interfering, stateless function to apply to the observable value.public static <T> BooleanBinding mapAsBoolean(ObservableValue<T> observable, Function<T,Boolean> mapper)
observable
- the observable to be converted.mapper
- a non-interfering, stateless function to apply to the observable value.public static <T> BooleanBinding mapAsBoolean(ObservableValue<T> observable, ObservableValue<Function<T,Boolean>> mapper)
observable
- the observable to be converted.mapper
- a non-interfering, stateless function to apply to the observable value.public static <T> IntegerBinding mapAsInteger(ObservableValue<T> observable, Function<T,Integer> mapper)
observable
- the observable to be converted.mapper
- a non-interfering, stateless function to apply to the observable value.public static <T> IntegerBinding mapAsInteger(ObservableValue<T> observable, ObservableValue<Function<T,Integer>> mapper)
observable
- the observable to be converted.mapper
- a non-interfering, stateless function to apply to the observable value.public static <T> LongBinding mapAsLong(ObservableValue<T> observable, Function<T,Long> mapper)
observable
- the observable to be converted.mapper
- a non-interfering, stateless function to apply to the observable value.public static <T> LongBinding mapAsLong(ObservableValue<T> observable, ObservableValue<Function<T,Long>> mapper)
observable
- the observable to be converted.mapper
- a non-interfering, stateless function to apply to the observable value.public static <T> FloatBinding mapAsFloat(ObservableValue<T> observable, Function<T,Float> mapper)
observable
- the observable to be converted.mapper
- a non-interfering, stateless function to apply to the observable value.public static <T> FloatBinding mapAsFloat(ObservableValue<T> observable, ObservableValue<Function<T,Float>> mapper)
observable
- the observable to be converted.mapper
- a non-interfering, stateless function to apply to the observable value.public static <T> DoubleBinding mapAsDouble(ObservableValue<T> observable, Function<T,Double> mapper)
observable
- the observable to be converted.mapper
- a non-interfering, stateless function to apply to the observable value.public static <T> DoubleBinding mapAsDouble(ObservableValue<T> observable, ObservableValue<Function<T,Double>> mapper)
observable
- the observable to be converted.mapper
- a non-interfering, stateless function to apply to the observable value.public static <T> StringBinding mapAsString(ObservableValue<T> observable, Function<T,String> mapper)
observable
- the observable to be converted.mapper
- a non-interfering, stateless function to apply to the observable value.public static <T> StringBinding mapAsString(ObservableValue<T> observable, ObservableValue<Function<T,String>> mapper)
observable
- the observable to be converted.mapper
- a non-interfering, stateless function to apply to the observable value.public static ObjectBinding<String> mapToObject(ObservableStringValue observable)
observable
- the observable to be converted.public static ObjectBinding<Boolean> mapToObject(ObservableBooleanValue observable)
observable
- the observable to be converted.public static ObjectBinding<Integer> mapToObject(ObservableIntegerValue observable)
observable
- the observable to be converted.public static ObjectBinding<Long> mapToObject(ObservableLongValue observable)
observable
- the observable to be converted.public static ObjectBinding<Float> mapToObject(ObservableFloatValue observable)
observable
- the observable to be converted.public static ObjectBinding<Double> mapToObject(ObservableDoubleValue observable)
observable
- the observable to be converted.public static BooleanBinding mapToBoolean(ObservableObjectValue<Boolean> observable)
observable
- the observable to be converted.public static IntegerBinding mapToInteger(ObservableObjectValue<Integer> observable)
observable
- the observable to be converted.public static LongBinding mapToLong(ObservableObjectValue<Long> observable)
observable
- the observable to be converted.public static FloatBinding mapToFloat(ObservableObjectValue<Float> observable)
observable
- the observable to be converted.public static DoubleBinding mapToDouble(ObservableObjectValue<Double> observable)
observable
- the observable to be converted.public static StringBinding mapToString(ObservableObjectValue<String> observable)
observable
- the observable to be converted.public static <S,T> ObservableList<T> mapList(ObservableList<? super S> source, Function<S,T> mapper)
source
- the source list.mapper
- a non-interfering, stateless function to apply to the reduced value.public static <S,T> ObservableList<T> mapList(ObservableList<S> source, ObservableValue<Function<S,T>> mapper)
source
- the source list.mapper
- a non-interfering, stateless function to apply to the reduced value.public static <T,R> ObjectBinding<R> mapObject(ObservableValue<T> observable, Function<? super T,? extends R> mapper)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.public static <T,R> ObjectBinding<R> mapObject(ObservableValue<T> observable, Function<? super T,? extends R> mapper, R defaultValue)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.defaultValue
- the value to be returned if there is no value present, may be null.public static <T,R> ObjectBinding<R> mapObject(ObservableValue<T> observable, Function<? super T,? extends R> mapper, Supplier<R> supplier)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.supplier
- a Supplier
whose result is returned if no value is present.public static <T,R> ObjectBinding<R> mapObject(ObservableValue<T> observable, ObservableValue<Function<? super T,? extends R>> mapper)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.public static <T,R> ObjectBinding<R> mapObject(ObservableValue<T> observable, ObservableValue<Function<? super T,? extends R>> mapper, R defaultValue)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.defaultValue
- the value to be returned if there is no value present, may be null.public static <T,R> ObjectBinding<R> mapObject(ObservableValue<T> observable, ObservableValue<Function<? super T,? extends R>> mapper, Supplier<R> supplier)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.supplier
- a Supplier
whose result is returned if no value is present.public static BooleanBinding mapBoolean(ObservableValue<Boolean> observable, Function<Boolean,Boolean> mapper)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.public static BooleanBinding mapBoolean(ObservableValue<Boolean> observable, Function<Boolean,Boolean> mapper, Boolean defaultValue)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.defaultValue
- the value to be returned if there is no value present, may be null.public static BooleanBinding mapBoolean(ObservableValue<Boolean> observable, Function<Boolean,Boolean> mapper, Supplier<Boolean> supplier)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.supplier
- a Supplier
whose result is returned if no value is present.public static BooleanBinding mapBoolean(ObservableValue<Boolean> observable, ObservableValue<Function<Boolean,Boolean>> mapper)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.public static BooleanBinding mapBoolean(ObservableValue<Boolean> observable, ObservableValue<Function<Boolean,Boolean>> mapper, Boolean defaultValue)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.defaultValue
- the value to be returned if there is no value present, may be null.public static BooleanBinding mapBoolean(ObservableValue<Boolean> observable, ObservableValue<Function<Boolean,Boolean>> mapper, Supplier<Boolean> supplier)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.supplier
- a Supplier
whose result is returned if no value is present.public static IntegerBinding mapInteger(ObservableValue<Integer> observable, Function<Integer,Integer> mapper)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.public static IntegerBinding mapInteger(ObservableValue<Integer> observable, Function<Integer,Integer> mapper, Integer defaultValue)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.defaultValue
- the value to be returned if there is no value present, may be null.public static IntegerBinding mapInteger(ObservableValue<Integer> observable, Function<Integer,Integer> mapper, Supplier<Integer> supplier)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.supplier
- a Supplier
whose result is returned if no value is present.public static IntegerBinding mapInteger(ObservableValue<Integer> observable, ObservableValue<Function<Integer,Integer>> mapper)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.public static IntegerBinding mapInteger(ObservableValue<Integer> observable, ObservableValue<Function<Integer,Integer>> mapper, Integer defaultValue)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.defaultValue
- the value to be returned if there is no value present, may be null.public static IntegerBinding mapInteger(ObservableValue<Integer> observable, ObservableValue<Function<Integer,Integer>> mapper, Supplier<Integer> supplier)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.supplier
- a Supplier
whose result is returned if no value is present.public static LongBinding mapLong(ObservableValue<Long> observable, Function<Long,Long> mapper)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.public static LongBinding mapLong(ObservableValue<Long> observable, Function<Long,Long> mapper, Long defaultValue)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.defaultValue
- the value to be returned if there is no value present, may be null.public static LongBinding mapLong(ObservableValue<Long> observable, Function<Long,Long> mapper, Supplier<Long> supplier)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.supplier
- a Supplier
whose result is returned if no value is present.public static LongBinding mapLong(ObservableValue<Long> observable, ObservableValue<Function<Long,Long>> mapper)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.public static LongBinding mapLong(ObservableValue<Long> observable, ObservableValue<Function<Long,Long>> mapper, Long defaultValue)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.defaultValue
- the value to be returned if there is no value present, may be null.public static LongBinding mapLong(ObservableValue<Long> observable, ObservableValue<Function<Long,Long>> mapper, Supplier<Long> supplier)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.supplier
- a Supplier
whose result is returned if no value is present.public static FloatBinding mapFloat(ObservableValue<Float> observable, Function<Float,Float> mapper)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.public static FloatBinding mapFloat(ObservableValue<Float> observable, Function<Float,Float> mapper, Float defaultValue)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.defaultValue
- the value to be returned if there is no value present, may be null.public static FloatBinding mapFloat(ObservableValue<Float> observable, Function<Float,Float> mapper, Supplier<Float> supplier)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.supplier
- a Supplier
whose result is returned if no value is present.public static FloatBinding mapFloat(ObservableValue<Float> observable, ObservableValue<Function<Float,Float>> mapper)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.public static FloatBinding mapFloat(ObservableValue<Float> observable, ObservableValue<Function<Float,Float>> mapper, Float defaultValue)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.defaultValue
- the value to be returned if there is no value present, may be null.public static FloatBinding mapFloat(ObservableValue<Float> observable, ObservableValue<Function<Float,Float>> mapper, Supplier<Float> supplier)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.supplier
- a Supplier
whose result is returned if no value is present.public static DoubleBinding mapDouble(ObservableValue<Double> observable, Function<Double,Double> mapper)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.public static DoubleBinding mapDouble(ObservableValue<Double> observable, Function<Double,Double> mapper, Double defaultValue)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.defaultValue
- the value to be returned if there is no value present, may be null.public static DoubleBinding mapDouble(ObservableValue<Double> observable, Function<Double,Double> mapper, Supplier<Double> supplier)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.supplier
- a Supplier
whose result is returned if no value is present.public static DoubleBinding mapDouble(ObservableValue<Double> observable, ObservableValue<Function<Double,Double>> mapper)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.public static DoubleBinding mapDouble(ObservableValue<Double> observable, ObservableValue<Function<Double,Double>> mapper, Double defaultValue)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.defaultValue
- the value to be returned if there is no value present, may be null.public static DoubleBinding mapDouble(ObservableValue<Double> observable, ObservableValue<Function<Double,Double>> mapper, Supplier<Double> supplier)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.supplier
- a Supplier
whose result is returned if no value is present.public static StringBinding mapString(ObservableValue<String> observable, Function<String,String> mapper)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.public static StringBinding mapString(ObservableValue<String> observable, Function<String,String> mapper, String defaultValue)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.defaultValue
- the value to be returned if there is no value present, may be null.public static StringBinding mapString(ObservableValue<String> observable, Function<String,String> mapper, Supplier<String> supplier)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.supplier
- a Supplier
whose result is returned if no value is present.public static StringBinding mapString(ObservableValue<String> observable, ObservableValue<Function<String,String>> mapper)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.public static StringBinding mapString(ObservableValue<String> observable, ObservableValue<Function<String,String>> mapper, String defaultValue)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.defaultValue
- the value to be returned if there is no value present, may be null.public static StringBinding mapString(ObservableValue<String> observable, ObservableValue<Function<String,String>> mapper, Supplier<String> supplier)
observable
- the source observable.mapper
- a non-interfering, stateless function to apply to the reduced value.supplier
- a Supplier
whose result is returned if no value is present.public static BooleanBinding mapBooleans(ObservableValue<Boolean> observable1, ObservableValue<Boolean> observable2, Boolean defaultValue, BiFunction<Boolean,Boolean,Boolean> mapper)
observable1
- the first observable value.observable2
- the second observable value.defaultValue
- the value to be returned if there are no values present.mapper
- a non-interfering, stateless function to apply to the supplied values.public static BooleanBinding mapBooleans(ObservableValue<Boolean> observable1, ObservableValue<Boolean> observable2, Supplier<Boolean> supplier, BiFunction<Boolean,Boolean,Boolean> mapper)
observable1
- the first observable value.observable2
- the second observable value.supplier
- a Supplier
whose result is returned if no values are present.mapper
- a non-interfering, stateless function to apply to the supplied values.public static BooleanBinding mapBooleans(ObservableValue<Boolean> observable1, ObservableValue<Boolean> observable2, Boolean defaultValue, ObservableValue<BiFunction<Boolean,Boolean,Boolean>> mapper)
observable1
- the first observable value.observable2
- the second observable value.defaultValue
- the value to be returned if there is no value present.mapper
- a non-interfering, stateless function to apply to the supplied values.public static BooleanBinding mapBooleans(ObservableValue<Boolean> observable1, ObservableValue<Boolean> observable2, Supplier<Boolean> supplier, ObservableValue<BiFunction<Boolean,Boolean,Boolean>> mapper)
observable1
- the first observable value.observable2
- the second observable value.supplier
- a Supplier
whose result is returned if no value is present.mapper
- a non-interfering, stateless function to apply to the supplied values.public static IntegerBinding mapIntegers(ObservableValue<? extends Number> observable1, ObservableValue<? extends Number> observable2, Integer defaultValue, BiFunction<? super Number,? super Number,Integer> mapper)
observable1
- the first observable value.observable2
- the second observable value.defaultValue
- the value to be returned if there are no values present.mapper
- a non-interfering, stateless function to apply to the supplied values.public static IntegerBinding mapIntegers(ObservableValue<? extends Number> observable1, ObservableValue<? extends Number> observable2, Supplier<Integer> supplier, BiFunction<? super Number,? super Number,Integer> mapper)
observable1
- the first observable value.observable2
- the second observable value.supplier
- a Supplier
whose result is returned if no values are present.mapper
- a non-interfering, stateless function to apply to the supplied values.public static IntegerBinding mapIntegers(ObservableValue<? extends Number> observable1, ObservableValue<? extends Number> observable2, Integer defaultValue, ObservableValue<BiFunction<? super Number,? super Number,Integer>> mapper)
observable1
- the first observable value.observable2
- the second observable value.defaultValue
- the value to be returned if there is no value present.mapper
- a non-interfering, stateless function to apply to the supplied values.public static IntegerBinding mapIntegers(ObservableValue<? extends Number> observable1, ObservableValue<? extends Number> observable2, Supplier<Integer> supplier, ObservableValue<BiFunction<? super Number,? super Number,Integer>> mapper)
observable1
- the first observable value.observable2
- the second observable value.supplier
- a Supplier
whose result is returned if no value is present.mapper
- a non-interfering, stateless function to apply to the supplied values.public static LongBinding mapLongs(ObservableValue<? extends Number> observable1, ObservableValue<? extends Number> observable2, Long defaultValue, BiFunction<? super Number,? super Number,Long> mapper)
observable1
- the first observable value.observable2
- the second observable value.defaultValue
- the value to be returned if there are no values present.mapper
- a non-interfering, stateless function to apply to the supplied values.public static LongBinding mapLongs(ObservableValue<? extends Number> observable1, ObservableValue<? extends Number> observable2, Supplier<Long> supplier, BiFunction<? super Number,? super Number,Long> mapper)
observable1
- the first observable value.observable2
- the second observable value.supplier
- a Supplier
whose result is returned if no values are present.mapper
- a non-interfering, stateless function to apply to the supplied values.public static LongBinding mapLongs(ObservableValue<? extends Number> observable1, ObservableValue<? extends Number> observable2, Long defaultValue, ObservableValue<BiFunction<? super Number,? super Number,Long>> mapper)
observable1
- the first observable value.observable2
- the second observable value.defaultValue
- the value to be returned if there is no value present.mapper
- a non-interfering, stateless function to apply to the supplied values.public static LongBinding mapLongs(ObservableValue<? extends Number> observable1, ObservableValue<? extends Number> observable2, Supplier<Long> supplier, ObservableValue<BiFunction<? super Number,? super Number,Long>> mapper)
observable1
- the first observable value.observable2
- the second observable value.supplier
- a Supplier
whose result is returned if no value is present.mapper
- a non-interfering, stateless function to apply to the supplied values.public static FloatBinding mapFloats(ObservableValue<? extends Number> observable1, ObservableValue<? extends Number> observable2, Float defaultValue, BiFunction<? super Number,? super Number,Float> mapper)
observable1
- the first observable value.observable2
- the second observable value.defaultValue
- the value to be returned if there are no values present.mapper
- a non-interfering, stateless function to apply to the supplied values.public static FloatBinding mapFloats(ObservableValue<? extends Number> observable1, ObservableValue<? extends Number> observable2, Supplier<Float> supplier, BiFunction<? super Number,? super Number,Float> mapper)
observable1
- the first observable value.observable2
- the second observable value.supplier
- a Supplier
whose result is returned if no values are present.mapper
- a non-interfering, stateless function to apply to the supplied values.public static FloatBinding mapFloats(ObservableValue<? extends Number> observable1, ObservableValue<? extends Number> observable2, Float defaultValue, ObservableValue<BiFunction<? super Number,? super Number,Float>> mapper)
observable1
- the first observable value.observable2
- the second observable value.defaultValue
- the value to be returned if there is no value present.mapper
- a non-interfering, stateless function to apply to the supplied values.public static FloatBinding mapFloats(ObservableValue<? extends Number> observable1, ObservableValue<? extends Number> observable2, Supplier<Float> supplier, ObservableValue<BiFunction<? super Number,? super Number,Float>> mapper)
observable1
- the first observable value.observable2
- the second observable value.supplier
- a Supplier
whose result is returned if no value is present.mapper
- a non-interfering, stateless function to apply to the supplied values.public static DoubleBinding mapDoubles(ObservableValue<? extends Number> observable1, ObservableValue<? extends Number> observable2, Double defaultValue, BiFunction<? super Number,? super Number,Double> mapper)
observable1
- the first observable value.observable2
- the second observable value.defaultValue
- the value to be returned if there are no values present.mapper
- a non-interfering, stateless function to apply to the supplied values.public static DoubleBinding mapDoubles(ObservableValue<? extends Number> observable1, ObservableValue<? extends Number> observable2, Supplier<Double> supplier, BiFunction<? super Number,? super Number,Double> mapper)
observable1
- the first observable value.observable2
- the second observable value.supplier
- a Supplier
whose result is returned if no values are present.mapper
- a non-interfering, stateless function to apply to the supplied values.public static DoubleBinding mapDoubles(ObservableValue<? extends Number> observable1, ObservableValue<? extends Number> observable2, Double defaultValue, ObservableValue<BiFunction<? super Number,? super Number,Double>> mapper)
observable1
- the first observable value.observable2
- the second observable value.defaultValue
- the value to be returned if there is no value present.mapper
- a non-interfering, stateless function to apply to the supplied values.public static DoubleBinding mapDoubles(ObservableValue<? extends Number> observable1, ObservableValue<? extends Number> observable2, Supplier<Double> supplier, ObservableValue<BiFunction<? super Number,? super Number,Double>> mapper)
observable1
- the first observable value.observable2
- the second observable value.supplier
- a Supplier
whose result is returned if no value is present.mapper
- a non-interfering, stateless function to apply to the supplied values.public static <A,B,R> ObjectBinding<R> mapObjects(ObservableValue<A> observable1, ObservableValue<B> observable2, R defaultValue, BiFunction<? super A,? super B,R> mapper)
observable1
- the first observable value.observable2
- the second observable value.defaultValue
- the value to be returned if there are no values present, may be null.mapper
- a non-interfering, stateless function to apply to the supplied values.public static <A,B,R> ObjectBinding<R> mapObjects(ObservableValue<A> observable1, ObservableValue<B> observable2, Supplier<R> supplier, BiFunction<? super A,? super B,R> mapper)
observable1
- the first observable value.observable2
- the second observable value.supplier
- a Supplier
whose result is returnedif no values are present.mapper
- a non-interfering, stateless function to apply to the supplied values.public static <A,B,R> ObjectBinding<R> mapObjects(ObservableValue<A> observable1, ObservableValue<B> observable2, R defaultValue, ObservableValue<BiFunction<? super A,? super B,R>> mapper)
observable1
- the first observable value.observable2
- the second observable value.defaultValue
- the value to be returned if there is no value present, may be null.mapper
- a non-interfering, stateless function to apply to the supplied values.public static <A,B,R> ObjectBinding<R> mapObjects(ObservableValue<A> observable1, ObservableValue<B> observable2, Supplier<R> supplier, ObservableValue<BiFunction<? super A,? super B,R>> mapper)
observable1
- the first observable value.observable2
- the second observable value.supplier
- a Supplier
whose result is returned if no values are present.mapper
- a non-interfering, stateless function to apply to the supplied values.public static StringBinding mapStrings(ObservableValue<String> observable1, ObservableValue<String> observable2, String defaultValue, BiFunction<String,String,String> mapper)
observable1
- the first observable value.observable2
- the second observable value.defaultValue
- the value to be returned if there are no values present.mapper
- a non-interfering, stateless function to apply to the supplied values.public static StringBinding mapStrings(ObservableValue<String> observable1, ObservableValue<String> observable2, Supplier<String> supplier, BiFunction<String,String,String> mapper)
observable1
- the first observable value.observable2
- the second observable value.supplier
- a Supplier
whose result is returned if no values are present.mapper
- a non-interfering, stateless function to apply to the supplied values.public static StringBinding mapStrings(ObservableValue<String> observable1, ObservableValue<String> observable2, String defaultValue, ObservableValue<BiFunction<String,String,String>> mapper)
observable1
- the first observable value.observable2
- the second observable value.defaultValue
- the value to be returned if there is no value present, may be null.mapper
- a non-interfering, stateless function to apply to the supplied values.public static StringBinding mapStrings(ObservableValue<String> observable1, ObservableValue<String> observable2, Supplier<String> supplier, ObservableValue<BiFunction<String,String,String>> mapper)
observable1
- the first observable value.observable2
- the second observable value.supplier
- a Supplier
whose result is returned if no values are present.mapper
- a non-interfering, stateless function to apply to the supplied values.public static IntegerBinding mapInteger(ObservableValue<? extends Number> observable)
observable
- the source observable.public static IntegerBinding mapInteger(ObservableValue<? extends Number> observable, Integer defaultValue)
observable
- the source observable.defaultValue
- the value to be returned if there is no value present, may be null.public static IntegerBinding mapInteger(ObservableValue<? extends Number> observable, Supplier<Integer> supplier)
observable
- the source observable.supplier
- a Supplier
whose result is returned if no value is present.public static LongBinding mapLong(ObservableValue<? extends Number> observable)
observable
- the source observable.public static LongBinding mapLong(ObservableValue<? extends Number> observable, Long defaultValue)
observable
- the source observable.defaultValue
- the value to be returned if there is no value present, may be null.public static LongBinding mapLong(ObservableValue<? extends Number> observable, Supplier<Long> supplier)
observable
- the source observable.supplier
- a Supplier
whose result is returned if no value is present.public static FloatBinding mapFloat(ObservableValue<? extends Number> observable)
observable
- the source observable.public static FloatBinding mapFloat(ObservableValue<? extends Number> observable, Float defaultValue)
observable
- the source observable.defaultValue
- the value to be returned if there is no value present, may be null.public static FloatBinding mapFloat(ObservableValue<? extends Number> observable, Supplier<Float> supplier)
observable
- the source observable.supplier
- a Supplier
whose result is returned if no value is present.public static DoubleBinding mapDouble(ObservableValue<? extends Number> observable)
observable
- the source observable.public static DoubleBinding mapDouble(ObservableValue<? extends Number> observable, Double defaultValue)
observable
- the source observable.defaultValue
- the value to be returned if there is no value present, may be null.public static DoubleBinding mapDouble(ObservableValue<? extends Number> observable, Supplier<Double> supplier)
observable
- the source observable.supplier
- a Supplier
whose result is returned if no value is present.