ListComparableBloomElementsExtension<E extends Comparable> extension

Reactive extensions on BloomListElements holding Comparable elements.

on

Methods

binarySearch(E element, [int compare(E a, E b)?]) → Bloom<int>

Available on BloomListElements<E>, provided by the ListComparableBloomElementsExtension extension

Returns the index of element in this sorted list.
lowerBound(E element, [int compare(E a, E b)?]) → Bloom<int>

Available on BloomListElements<E>, provided by the ListComparableBloomElementsExtension extension

Returns the index where element should be in this sorted list.
sortedRange(int start, int end, [int compare(E a, E b)?]) → Bloom<List<E>>

Available on BloomListElements<E>, provided by the ListComparableBloomElementsExtension extension

Returns a new unmodifiable list containing a sorted range of elements from this list.