public final class CollectionBindings extends Object
Modifier and Type | Method and Description |
---|---|
static NumberBinding |
averageInList(ObservableList<? extends Number> items,
Number defaultValue)
Creates a number binding that computes the average value amongst elements.
|
static NumberBinding |
averageInList(ObservableList<? extends Number> items,
Supplier<? extends Number> supplier)
Creates a number binding that computes the average value amongst elements.
|
static <T> NumberBinding |
averageInList(ObservableList<T> items,
Number defaultValue,
ObservableValue<ToDoubleFunction<? super T>> mapper)
Creates a number binding that computes the average value amongst elements.
|
static <T> NumberBinding |
averageInList(ObservableList<T> items,
Number defaultValue,
ToDoubleFunction<? super T> mapper)
Creates a number binding that computes the average value amongst elements.
|
static <T> NumberBinding |
averageInList(ObservableList<T> items,
Supplier<? extends Number> supplier,
ObservableValue<ToDoubleFunction<? super T>> mapper)
Creates a number binding that computes the average value amongst elements.
|
static <T> NumberBinding |
averageInList(ObservableList<T> items,
Supplier<? extends Number> supplier,
ToDoubleFunction<? super T> mapper)
Creates a number binding that computes the average value amongst elements.
|
static <K> NumberBinding |
averageInMap(ObservableMap<K,? extends Number> items,
Number defaultValue)
Creates a number binding that computes the average value amongst values.
|
static <K> NumberBinding |
averageInMap(ObservableMap<K,? extends Number> items,
Supplier<? extends Number> supplier)
Creates a number binding that computes the average value amongst values.
|
static <K,V> NumberBinding |
averageInMap(ObservableMap<K,V> items,
Number defaultValue,
ObservableValue<ToDoubleFunction<? super V>> mapper)
Creates a number binding that computes the average value amongst values.
|
static <K,V> NumberBinding |
averageInMap(ObservableMap<K,V> items,
Number defaultValue,
ToDoubleFunction<? super V> mapper)
Creates a number binding that computes the average value amongst values.
|
static <K,V> NumberBinding |
averageInMap(ObservableMap<K,V> items,
Supplier<? extends Number> supplier,
ObservableValue<ToDoubleFunction<? super V>> mapper)
Creates a number binding that computes the average value amongst values.
|
static <K,V> NumberBinding |
averageInMap(ObservableMap<K,V> items,
Supplier<? extends Number> supplier,
ToDoubleFunction<? super V> mapper)
Creates a number binding that computes the average value amongst values.
|
static NumberBinding |
averageInSet(ObservableSet<? extends Number> items,
Number defaultValue)
Creates a number binding that computes the average value amongst elements.
|
static NumberBinding |
averageInSet(ObservableSet<? extends Number> items,
Supplier<? extends Number> supplier)
Creates a number binding that computes the average value amongst elements.
|
static <T> NumberBinding |
averageInSet(ObservableSet<T> items,
Number defaultValue,
ObservableValue<ToDoubleFunction<? super T>> mapper)
Creates a number binding that computes the average value amongst elements.
|
static <T> NumberBinding |
averageInSet(ObservableSet<T> items,
Number defaultValue,
ToDoubleFunction<? super T> mapper)
Creates a number binding that computes the average value amongst elements.
|
static <T> NumberBinding |
averageInSet(ObservableSet<T> items,
Supplier<? extends Number> supplier,
ObservableValue<ToDoubleFunction<? super T>> mapper)
Creates a number binding that computes the average value amongst elements.
|
static <T> NumberBinding |
averageInSet(ObservableSet<T> items,
Supplier<? extends Number> supplier,
ToDoubleFunction<? super T> mapper)
Creates a number binding that computes the average value amongst elements.
|
static StringBinding |
joinList(ObservableList<?> items,
ObservableValue<String> delimiter)
Creates a string binding that constructs a sequence of characters separated by a delimiter.
|
static StringBinding |
joinList(ObservableList<?> items,
String delimiter)
Creates a string binding that constructs a sequence of characters separated by a delimiter.
|
static <T> StringBinding |
joinList(ObservableList<T> items,
ObservableValue<String> delimiter,
ObservableValue<Function<? super T,String>> mapper)
Creates a string binding that constructs a sequence of characters separated by a delimiter.
|
static <T> StringBinding |
joinList(ObservableList<T> items,
String delimiter,
Function<? super T,String> mapper)
Creates a string binding that constructs a sequence of characters separated by a delimiter.
|
static <K,V> StringBinding |
joinMap(ObservableMap<K,V> items,
ObservableValue<String> delimiter)
Creates a string binding that constructs a sequence of characters separated by a delimiter.
|
static <K,V> StringBinding |
joinMap(ObservableMap<K,V> items,
ObservableValue<String> delimiter,
ObservableValue<Function<Map.Entry<K,V>,String>> mapper)
Creates a string binding that constructs a sequence of characters separated by a delimiter.
|
static <K,V> StringBinding |
joinMap(ObservableMap<K,V> items,
String delimiter)
Creates a string binding that constructs a sequence of characters separated by a delimiter.
|
static <K,V> StringBinding |
joinMap(ObservableMap<K,V> items,
String delimiter,
Function<Map.Entry<K,V>,String> mapper)
Creates a string binding that constructs a sequence of characters separated by a delimiter.
|
static StringBinding |
joinSet(ObservableSet<?> items,
ObservableValue<String> delimiter)
Creates a string binding that constructs a sequence of characters separated by a delimiter.
|
static StringBinding |
joinSet(ObservableSet<?> items,
String delimiter)
Creates a string binding that constructs a sequence of characters separated by a delimiter.
|
static <T> StringBinding |
joinSet(ObservableSet<T> items,
ObservableValue<String> delimiter,
ObservableValue<Function<? super T,String>> mapper)
Creates a string binding that constructs a sequence of characters separated by a delimiter.
|
static <T> StringBinding |
joinSet(ObservableSet<T> items,
String delimiter,
Function<? super T,String> mapper)
Creates a string binding that constructs a sequence of characters separated by a delimiter.
|
static NumberBinding |
maxInList(ObservableList<? extends Number> items,
Number defaultValue)
Creates a number binding that computes the maximum value amongst elements.
|
static NumberBinding |
maxInList(ObservableList<? extends Number> items,
Supplier<? extends Number> supplier)
Creates a number binding that computes the maximum value amongst elements.
|
static <T> NumberBinding |
maxInList(ObservableList<T> items,
Number defaultValue,
ObservableValue<ToDoubleFunction<? super T>> mapper)
Creates a number binding that computes the maximum value amongst elements.
|
static <T> NumberBinding |
maxInList(ObservableList<T> items,
Number defaultValue,
ToDoubleFunction<? super T> mapper)
Creates a number binding that computes the maximum value amongst elements.
|
static <T> NumberBinding |
maxInList(ObservableList<T> items,
Supplier<? extends Number> supplier,
ObservableValue<ToDoubleFunction<? super T>> mapper)
Creates a number binding that computes the maximum value amongst elements.
|
static <T> NumberBinding |
maxInList(ObservableList<T> items,
Supplier<? extends Number> supplier,
ToDoubleFunction<? super T> mapper)
Creates a number binding that computes the maximum value amongst elements.
|
static <K> NumberBinding |
maxInMap(ObservableMap<K,? extends Number> items,
Number defaultValue)
Creates a number binding that computes the maximum value amongst values.
|
static <K> NumberBinding |
maxInMap(ObservableMap<K,? extends Number> items,
Supplier<? extends Number> supplier)
Creates a number binding that computes the maximum value amongst values.
|
static <K,V> NumberBinding |
maxInMap(ObservableMap<K,V> items,
Number defaultValue,
ObservableValue<ToDoubleFunction<? super V>> mapper)
Creates a number binding that computes the maximum value amongst values.
|
static <K,V> NumberBinding |
maxInMap(ObservableMap<K,V> items,
Number defaultValue,
ToDoubleFunction<? super V> mapper)
Creates a number binding that computes the maximum value amongst values.
|
static <K,V> NumberBinding |
maxInMap(ObservableMap<K,V> items,
Supplier<? extends Number> supplier,
ObservableValue<ToDoubleFunction<? super V>> mapper)
Creates a number binding that computes the maximum value amongst values.
|
static <K,V> NumberBinding |
maxInMap(ObservableMap<K,V> items,
Supplier<? extends Number> supplier,
ToDoubleFunction<? super V> mapper)
Creates a number binding that computes the maximum value amongst values.
|
static NumberBinding |
maxInSet(ObservableSet<? extends Number> items,
Number defaultValue)
Creates a number binding that computes the maximum value amongst elements.
|
static NumberBinding |
maxInSet(ObservableSet<? extends Number> items,
Supplier<? extends Number> supplier)
Creates a number binding that computes the maximum value amongst elements.
|
static <T> NumberBinding |
maxInSet(ObservableSet<T> items,
Number defaultValue,
ObservableValue<ToDoubleFunction<? super T>> mapper)
Creates a number binding that computes the maximum value amongst elements.
|
static <T> NumberBinding |
maxInSet(ObservableSet<T> items,
Number defaultValue,
ToDoubleFunction<? super T> mapper)
Creates a number binding that computes the maximum value amongst elements.
|
static <T> NumberBinding |
maxInSet(ObservableSet<T> items,
Supplier<? extends Number> supplier,
ObservableValue<ToDoubleFunction<? super T>> mapper)
Creates a number binding that computes the maximum value amongst elements.
|
static <T> NumberBinding |
maxInSet(ObservableSet<T> items,
Supplier<? extends Number> supplier,
ToDoubleFunction<? super T> mapper)
Creates a number binding that computes the maximum value amongst elements.
|
static NumberBinding |
minInList(ObservableList<? extends Number> items,
Number defaultValue)
Creates a number binding that computes the minimum value amongst elements.
|
static NumberBinding |
minInList(ObservableList<? extends Number> items,
Supplier<? extends Number> supplier)
Creates a number binding that computes the minimum value amongst elements.
|
static <T> NumberBinding |
minInList(ObservableList<T> items,
Number defaultValue,
ObservableValue<ToDoubleFunction<? super T>> mapper)
Creates a number binding that computes the minimum value amongst elements.
|
static <T> NumberBinding |
minInList(ObservableList<T> items,
Number defaultValue,
ToDoubleFunction<? super T> mapper)
Creates a number binding that computes the minimum value amongst elements.
|
static <T> NumberBinding |
minInList(ObservableList<T> items,
Supplier<? extends Number> supplier,
ObservableValue<ToDoubleFunction<? super T>> mapper)
Creates a number binding that computes the minimum value amongst elements.
|
static <T> NumberBinding |
minInList(ObservableList<T> items,
Supplier<? extends Number> supplier,
ToDoubleFunction<? super T> mapper)
Creates a number binding that computes the minimum value amongst elements.
|
static <K> NumberBinding |
minInMap(ObservableMap<K,? extends Number> items,
Number defaultValue)
Creates a number binding that computes the minimum value amongst values.
|
static <K> NumberBinding |
minInMap(ObservableMap<K,? extends Number> items,
Supplier<? extends Number> supplier)
Creates a number binding that computes the minimum value amongst values.
|
static <K,V> NumberBinding |
minInMap(ObservableMap<K,V> items,
Number defaultValue,
ObservableValue<ToDoubleFunction<? super V>> mapper)
Creates a number binding that computes the minimum value amongst values.
|
static <K,V> NumberBinding |
minInMap(ObservableMap<K,V> items,
Number defaultValue,
ToDoubleFunction<? super V> mapper)
Creates a number binding that computes the minimum value amongst values.
|
static <K,V> NumberBinding |
minInMap(ObservableMap<K,V> items,
Supplier<? extends Number> supplier,
ObservableValue<ToDoubleFunction<? super V>> mapper)
Creates a number binding that computes the minimum value amongst values.
|
static <K,V> NumberBinding |
minInMap(ObservableMap<K,V> items,
Supplier<? extends Number> supplier,
ToDoubleFunction<? super V> mapper)
Creates a number binding that computes the minimum value amongst values.
|
static NumberBinding |
minInSet(ObservableSet<? extends Number> items,
Number defaultValue)
Creates a number binding that computes the minimum value amongst elements.
|
static NumberBinding |
minInSet(ObservableSet<? extends Number> items,
Supplier<? extends Number> supplier)
Creates a number binding that computes the minimum value amongst elements.
|
static <T> NumberBinding |
minInSet(ObservableSet<T> items,
Number defaultValue,
ObservableValue<ToDoubleFunction<? super T>> mapper)
Creates a number binding that computes the minimum value amongst elements.
|
static <T> NumberBinding |
minInSet(ObservableSet<T> items,
Number defaultValue,
ToDoubleFunction<? super T> mapper)
Creates a number binding that computes the minimum value amongst elements.
|
static <T> NumberBinding |
minInSet(ObservableSet<T> items,
Supplier<? extends Number> supplier,
ObservableValue<ToDoubleFunction<? super T>> mapper)
Creates a number binding that computes the minimum value amongst elements.
|
static <T> NumberBinding |
minInSet(ObservableSet<T> items,
Supplier<? extends Number> supplier,
ToDoubleFunction<? super T> mapper)
Creates a number binding that computes the minimum value amongst elements.
|
static NumberBinding |
sumOfList(ObservableList<? extends Number> items)
Creates a number binding that contains the sum of the items of the given observable list.
|
static <T> NumberBinding |
sumOfList(ObservableList<T> items,
ObservableValue<ToDoubleFunction<? super T>> mapper)
Creates a number binding that contains the sum of the items of the given observable list.
|
static <T> NumberBinding |
sumOfList(ObservableList<T> items,
ToDoubleFunction<? super T> mapper)
Creates a number binding that contains the sum of the items of the given observable list.
|
static <K> NumberBinding |
sumOfMap(ObservableMap<K,? extends Number> items)
Creates a number binding that contains the sum of the values of the given observable map.
|
static <K,V> NumberBinding |
sumOfMap(ObservableMap<K,V> items,
ObservableValue<ToDoubleFunction<? super V>> mapper)
Creates a number binding that contains the sum of the values of the given observable map.
|
static <K,V> NumberBinding |
sumOfMap(ObservableMap<K,V> items,
ToDoubleFunction<? super V> mapper)
Creates a number binding that contains the sum of the values of the given observable map.
|
static NumberBinding |
sumOfSet(ObservableSet<? extends Number> items)
Creates a number binding that contains the sum of the items of the given observable set.
|
static <T> NumberBinding |
sumOfSet(ObservableSet<T> items,
ObservableValue<ToDoubleFunction<? super T>> mapper)
Creates a number binding that contains the sum of the items of the given observable set.
|
static <T> NumberBinding |
sumOfSet(ObservableSet<T> items,
ToDoubleFunction<? super T> mapper)
Creates a number binding that contains the sum of the items of the given observable set.
|
public static StringBinding joinList(ObservableList<?> items, String delimiter)
items
- the observable list of items.delimiter
- the sequence of characters to be used between each element.public static <T> StringBinding joinList(ObservableList<T> items, String delimiter, Function<? super T,String> mapper)
items
- the observable list of items.delimiter
- the sequence of characters to be used between each element.mapper
- a non-interfering, stateless function to apply to the each element.public static StringBinding joinList(ObservableList<?> items, ObservableValue<String> delimiter)
items
- the observable list of items.delimiter
- the sequence of characters to be used between each element.public static <T> StringBinding joinList(ObservableList<T> items, ObservableValue<String> delimiter, ObservableValue<Function<? super T,String>> mapper)
items
- the observable list of items.delimiter
- the sequence of characters to be used between each element.mapper
- a non-interfering, stateless function to apply to the each element.public static StringBinding joinSet(ObservableSet<?> items, String delimiter)
items
- the observable set of items.delimiter
- the sequence of characters to be used between each element.public static <T> StringBinding joinSet(ObservableSet<T> items, String delimiter, Function<? super T,String> mapper)
items
- the observable set of items.delimiter
- the sequence of characters to be used between each element.mapper
- a non-interfering, stateless function to apply to the each element.public static StringBinding joinSet(ObservableSet<?> items, ObservableValue<String> delimiter)
items
- the observable set of items.delimiter
- the sequence of characters to be used between each element.public static <T> StringBinding joinSet(ObservableSet<T> items, ObservableValue<String> delimiter, ObservableValue<Function<? super T,String>> mapper)
items
- the observable set of items.delimiter
- the sequence of characters to be used between each element.mapper
- a non-interfering, stateless function to apply to the each element.public static <K,V> StringBinding joinMap(ObservableMap<K,V> items, String delimiter)
items
- the observable map of items.delimiter
- the sequence of characters to be used between each entry.public static <K,V> StringBinding joinMap(ObservableMap<K,V> items, String delimiter, Function<Map.Entry<K,V>,String> mapper)
items
- the observable map of items.delimiter
- the sequence of characters to be used between each element.mapper
- a non-interfering, stateless function to apply to the each entry.public static <K,V> StringBinding joinMap(ObservableMap<K,V> items, ObservableValue<String> delimiter)
items
- the observable map of items.delimiter
- the sequence of characters to be used between each entry.public static <K,V> StringBinding joinMap(ObservableMap<K,V> items, ObservableValue<String> delimiter, ObservableValue<Function<Map.Entry<K,V>,String>> mapper)
items
- the observable map of items.delimiter
- the sequence of characters to be used between each element.mapper
- a non-interfering, stateless function to apply to the each entry.public static NumberBinding minInList(ObservableList<? extends Number> items, Number defaultValue)
items
- the observable list of items.defaultValue
- the value to be returned if there is no value present.public static NumberBinding minInList(ObservableList<? extends Number> items, Supplier<? extends Number> supplier)
items
- the observable list of items.supplier
- a Supplier
whose result is returned if no value is present.public static NumberBinding maxInList(ObservableList<? extends Number> items, Number defaultValue)
items
- the observable list of items.defaultValue
- the value to be returned if there is no value present.public static NumberBinding maxInList(ObservableList<? extends Number> items, Supplier<? extends Number> supplier)
items
- the observable list of items.supplier
- a Supplier
whose result is returned if no value is present.public static NumberBinding averageInList(ObservableList<? extends Number> items, Number defaultValue)
items
- the observable list of items.defaultValue
- the value to be returned if there is no value present.public static NumberBinding averageInList(ObservableList<? extends Number> items, Supplier<? extends Number> supplier)
items
- the observable list of items.supplier
- a Supplier
whose result is returned if no value is present.public static NumberBinding sumOfList(ObservableList<? extends Number> items)
items
- the observable list of items.public static <T> NumberBinding minInList(ObservableList<T> items, Number defaultValue, ToDoubleFunction<? super T> mapper)
items
- the observable list of items.defaultValue
- the value to be returned if there is no value present.mapper
- a non-interfering, stateless function to apply to the each element.public static <T> NumberBinding minInList(ObservableList<T> items, Supplier<? extends Number> supplier, ToDoubleFunction<? super T> mapper)
items
- the observable list of items.supplier
- a Supplier
whose result is returned if no value is present.mapper
- a non-interfering, stateless function to apply to the each element.public static <T> NumberBinding maxInList(ObservableList<T> items, Number defaultValue, ToDoubleFunction<? super T> mapper)
items
- the observable list of items.defaultValue
- the value to be returned if there is no value present.mapper
- a non-interfering, stateless function to apply to the each element.public static <T> NumberBinding maxInList(ObservableList<T> items, Supplier<? extends Number> supplier, ToDoubleFunction<? super T> mapper)
items
- the observable list of items.supplier
- a Supplier
whose result is returned if no value is present.mapper
- a non-interfering, stateless function to apply to the each element.public static <T> NumberBinding averageInList(ObservableList<T> items, Number defaultValue, ToDoubleFunction<? super T> mapper)
items
- the observable list of items.defaultValue
- the value to be returned if there is no value present.mapper
- a non-interfering, stateless function to apply to the each element.public static <T> NumberBinding averageInList(ObservableList<T> items, Supplier<? extends Number> supplier, ToDoubleFunction<? super T> mapper)
items
- the observable list of items.supplier
- a Supplier
whose result is returned if no value is present.mapper
- a non-interfering, stateless function to apply to the each element.public static <T> NumberBinding sumOfList(ObservableList<T> items, ToDoubleFunction<? super T> mapper)
items
- the observable list of items.mapper
- a non-interfering, stateless function to apply to the each element.public static <T> NumberBinding minInList(ObservableList<T> items, Number defaultValue, ObservableValue<ToDoubleFunction<? super T>> mapper)
items
- the observable list of items.defaultValue
- the value to be returned if there is no value present.mapper
- a non-interfering, stateless function to apply to the each element.public static <T> NumberBinding minInList(ObservableList<T> items, Supplier<? extends Number> supplier, ObservableValue<ToDoubleFunction<? super T>> mapper)
items
- the observable list of items.supplier
- a Supplier
whose result is returned if no value is present.mapper
- a non-interfering, stateless function to apply to the each element.public static <T> NumberBinding maxInList(ObservableList<T> items, Number defaultValue, ObservableValue<ToDoubleFunction<? super T>> mapper)
items
- the observable list of items.defaultValue
- the value to be returned if there is no value present.mapper
- a non-interfering, stateless function to apply to the each element.public static <T> NumberBinding maxInList(ObservableList<T> items, Supplier<? extends Number> supplier, ObservableValue<ToDoubleFunction<? super T>> mapper)
items
- the observable list of items.supplier
- a Supplier
whose result is returned if no value is present.mapper
- a non-interfering, stateless function to apply to the each element.public static <T> NumberBinding averageInList(ObservableList<T> items, Number defaultValue, ObservableValue<ToDoubleFunction<? super T>> mapper)
items
- the observable list of items.defaultValue
- the value to be returned if there is no value present.mapper
- a non-interfering, stateless function to apply to the each element.public static <T> NumberBinding averageInList(ObservableList<T> items, Supplier<? extends Number> supplier, ObservableValue<ToDoubleFunction<? super T>> mapper)
items
- the observable list of items.supplier
- a Supplier
whose result is returned if no value is present.mapper
- a non-interfering, stateless function to apply to the each element.public static <T> NumberBinding sumOfList(ObservableList<T> items, ObservableValue<ToDoubleFunction<? super T>> mapper)
items
- the observable list of items.mapper
- a non-interfering, stateless function to apply to the each element.public static NumberBinding minInSet(ObservableSet<? extends Number> items, Number defaultValue)
items
- the observable set of items.defaultValue
- the value to be returned if there is no value present.public static NumberBinding minInSet(ObservableSet<? extends Number> items, Supplier<? extends Number> supplier)
items
- the observable set of items.supplier
- a Supplier
whose result is returned if no value is present.public static NumberBinding maxInSet(ObservableSet<? extends Number> items, Number defaultValue)
items
- the observable set of items.defaultValue
- the value to be returned if there is no value present.public static NumberBinding maxInSet(ObservableSet<? extends Number> items, Supplier<? extends Number> supplier)
items
- the observable set of items.supplier
- a Supplier
whose result is returned if no value is present.public static NumberBinding averageInSet(ObservableSet<? extends Number> items, Number defaultValue)
items
- the observable set of items.defaultValue
- the value to be returned if there is no value present.public static NumberBinding averageInSet(ObservableSet<? extends Number> items, Supplier<? extends Number> supplier)
items
- the observable set of items.supplier
- a Supplier
whose result is returned if no value is present.public static NumberBinding sumOfSet(ObservableSet<? extends Number> items)
items
- the observable set of items.public static <T> NumberBinding minInSet(ObservableSet<T> items, Number defaultValue, ToDoubleFunction<? super T> mapper)
items
- the observable set of items.defaultValue
- the value to be returned if there is no value present.mapper
- a non-interfering, stateless function to apply to the each element.public static <T> NumberBinding minInSet(ObservableSet<T> items, Supplier<? extends Number> supplier, ToDoubleFunction<? super T> mapper)
items
- the observable set of items.supplier
- a Supplier
whose result is returned if no value is present.mapper
- a non-interfering, stateless function to apply to the each element.public static <T> NumberBinding maxInSet(ObservableSet<T> items, Number defaultValue, ToDoubleFunction<? super T> mapper)
items
- the observable set of items.defaultValue
- the value to be returned if there is no value present.mapper
- a non-interfering, stateless function to apply to the each element.public static <T> NumberBinding maxInSet(ObservableSet<T> items, Supplier<? extends Number> supplier, ToDoubleFunction<? super T> mapper)
items
- the observable set of items.supplier
- a Supplier
whose result is returned if no value is present.mapper
- a non-interfering, stateless function to apply to the each element.public static <T> NumberBinding averageInSet(ObservableSet<T> items, Number defaultValue, ToDoubleFunction<? super T> mapper)
items
- the observable set of items.defaultValue
- the value to be returned if there is no value present.mapper
- a non-interfering, stateless function to apply to the each element.public static <T> NumberBinding averageInSet(ObservableSet<T> items, Supplier<? extends Number> supplier, ToDoubleFunction<? super T> mapper)
items
- the observable set of items.supplier
- a Supplier
whose result is returned if no value is present.mapper
- a non-interfering, stateless function to apply to the each element.public static <T> NumberBinding sumOfSet(ObservableSet<T> items, ToDoubleFunction<? super T> mapper)
items
- the observable set of items.mapper
- a non-interfering, stateless function to apply to the each element.public static <T> NumberBinding minInSet(ObservableSet<T> items, Number defaultValue, ObservableValue<ToDoubleFunction<? super T>> mapper)
items
- the observable set of items.defaultValue
- the value to be returned if there is no value present.mapper
- a non-interfering, stateless function to apply to the each element.public static <T> NumberBinding minInSet(ObservableSet<T> items, Supplier<? extends Number> supplier, ObservableValue<ToDoubleFunction<? super T>> mapper)
items
- the observable set of items.supplier
- a Supplier
whose result is returned if no value is present.mapper
- a non-interfering, stateless function to apply to the each element.public static <T> NumberBinding maxInSet(ObservableSet<T> items, Number defaultValue, ObservableValue<ToDoubleFunction<? super T>> mapper)
items
- the observable set of items.defaultValue
- the value to be returned if there is no value present.mapper
- a non-interfering, stateless function to apply to the each element.public static <T> NumberBinding maxInSet(ObservableSet<T> items, Supplier<? extends Number> supplier, ObservableValue<ToDoubleFunction<? super T>> mapper)
items
- the observable set of items.supplier
- a Supplier
whose result is returned if no value is present.mapper
- a non-interfering, stateless function to apply to the each element.public static <T> NumberBinding averageInSet(ObservableSet<T> items, Number defaultValue, ObservableValue<ToDoubleFunction<? super T>> mapper)
items
- the observable set of items.defaultValue
- the value to be returned if there is no value present.mapper
- a non-interfering, stateless function to apply to the each element.public static <T> NumberBinding averageInSet(ObservableSet<T> items, Supplier<? extends Number> supplier, ObservableValue<ToDoubleFunction<? super T>> mapper)
items
- the observable set of items.supplier
- a Supplier
whose result is returned if no value is present.mapper
- a non-interfering, stateless function to apply to the each element.public static <T> NumberBinding sumOfSet(ObservableSet<T> items, ObservableValue<ToDoubleFunction<? super T>> mapper)
items
- the observable set of items.mapper
- a non-interfering, stateless function to apply to the each element.public static <K> NumberBinding minInMap(ObservableMap<K,? extends Number> items, Number defaultValue)
items
- the observable map of items.defaultValue
- the value to be returned if there is no value present.public static <K> NumberBinding minInMap(ObservableMap<K,? extends Number> items, Supplier<? extends Number> supplier)
items
- the observable map of items.supplier
- a Supplier
whose result is returned if no value is present.public static <K> NumberBinding maxInMap(ObservableMap<K,? extends Number> items, Number defaultValue)
items
- the observable map of items.defaultValue
- the value to be returned if there is no value present.public static <K> NumberBinding maxInMap(ObservableMap<K,? extends Number> items, Supplier<? extends Number> supplier)
items
- the observable map of items.supplier
- a Supplier
whose result is returned if no value is present.public static <K> NumberBinding averageInMap(ObservableMap<K,? extends Number> items, Number defaultValue)
items
- the observable map of items.defaultValue
- the value to be returned if there is no value present.public static <K> NumberBinding averageInMap(ObservableMap<K,? extends Number> items, Supplier<? extends Number> supplier)
items
- the observable map of items.supplier
- a Supplier
whose result is returned if no value is present.public static <K> NumberBinding sumOfMap(ObservableMap<K,? extends Number> items)
items
- the observable map of items.public static <K,V> NumberBinding minInMap(ObservableMap<K,V> items, Number defaultValue, ToDoubleFunction<? super V> mapper)
items
- the observable map of items.defaultValue
- the value to be returned if there is no value present.mapper
- a non-interfering, stateless function to apply to the each value.public static <K,V> NumberBinding minInMap(ObservableMap<K,V> items, Supplier<? extends Number> supplier, ToDoubleFunction<? super V> mapper)
items
- the observable map of items.supplier
- a Supplier
whose result is returned if no value is present.mapper
- a non-interfering, stateless function to apply to the each value.public static <K,V> NumberBinding maxInMap(ObservableMap<K,V> items, Number defaultValue, ToDoubleFunction<? super V> mapper)
items
- the observable map of items.defaultValue
- the value to be returned if there is no value present.mapper
- a non-interfering, stateless function to apply to the each value.public static <K,V> NumberBinding maxInMap(ObservableMap<K,V> items, Supplier<? extends Number> supplier, ToDoubleFunction<? super V> mapper)
items
- the observable map of items.supplier
- a Supplier
whose result is returned if no value is present.mapper
- a non-interfering, stateless function to apply to the each value.public static <K,V> NumberBinding averageInMap(ObservableMap<K,V> items, Number defaultValue, ToDoubleFunction<? super V> mapper)
items
- the observable map of items.defaultValue
- the value to be returned if there is no value present.mapper
- a non-interfering, stateless function to apply to the each value.public static <K,V> NumberBinding averageInMap(ObservableMap<K,V> items, Supplier<? extends Number> supplier, ToDoubleFunction<? super V> mapper)
items
- the observable map of items.supplier
- a Supplier
whose result is returned if no value is present.mapper
- a non-interfering, stateless function to apply to the each value.public static <K,V> NumberBinding sumOfMap(ObservableMap<K,V> items, ToDoubleFunction<? super V> mapper)
items
- the observable map of items.mapper
- a non-interfering, stateless function to apply to the each value.public static <K,V> NumberBinding minInMap(ObservableMap<K,V> items, Number defaultValue, ObservableValue<ToDoubleFunction<? super V>> mapper)
items
- the observable map of items.defaultValue
- the value to be returned if there is no value present.mapper
- a non-interfering, stateless function to apply to the each value.public static <K,V> NumberBinding minInMap(ObservableMap<K,V> items, Supplier<? extends Number> supplier, ObservableValue<ToDoubleFunction<? super V>> mapper)
items
- the observable map of items.supplier
- a Supplier
whose result is returned if no value is present.mapper
- a non-interfering, stateless function to apply to the each value.public static <K,V> NumberBinding maxInMap(ObservableMap<K,V> items, Number defaultValue, ObservableValue<ToDoubleFunction<? super V>> mapper)
items
- the observable map of items.defaultValue
- the value to be returned if there is no value present.mapper
- a non-interfering, stateless function to apply to the each value.public static <K,V> NumberBinding maxInMap(ObservableMap<K,V> items, Supplier<? extends Number> supplier, ObservableValue<ToDoubleFunction<? super V>> mapper)
items
- the observable map of items.supplier
- a Supplier
whose result is returned if no value is present.mapper
- a non-interfering, stateless function to apply to the each value.public static <K,V> NumberBinding averageInMap(ObservableMap<K,V> items, Number defaultValue, ObservableValue<ToDoubleFunction<? super V>> mapper)
items
- the observable map of items.defaultValue
- the value to be returned if there is no value present.mapper
- a non-interfering, stateless function to apply to the each value.public static <K,V> NumberBinding averageInMap(ObservableMap<K,V> items, Supplier<? extends Number> supplier, ObservableValue<ToDoubleFunction<? super V>> mapper)
items
- the observable map of items.supplier
- a Supplier
whose result is returned if no value is present.mapper
- a non-interfering, stateless function to apply to the each value.public static <K,V> NumberBinding sumOfMap(ObservableMap<K,V> items, ObservableValue<ToDoubleFunction<? super V>> mapper)
items
- the observable map of items.mapper
- a non-interfering, stateless function to apply to the each value.