lowerBound method

Bloom<int> lowerBound(
  1. E element,
  2. int compare(
    1. E a,
    2. E b
    )
)

Returns the index where element should be inserted in this sorted list.

  • element: The target element to locate the lower bound for.
  • compare: Comparator defining the sort order.

Implementation

Bloom<int> lowerBound(E element, int Function(E a, E b) compare) =>
    computed((via) =>
        col.ListExtensions(via(_listBloom)).lowerBound(element, compare));