ListComparableCoralElementsExtension<E extends Comparable> extension
- on
Methods
-
binarySearch(
E element, [int compare(E a, E b)?]) → Coral< int> -
Available on CoralListElements<
Returns the index ofE> , provided by the ListComparableCoralElementsExtension extensionelementin this sorted list. -
lowerBound(
E element, [int compare(E a, E b)?]) → Coral< int> -
Available on CoralListElements<
Returns the index whereE> , provided by the ListComparableCoralElementsExtension extensionelementshould be in this sorted list. -
sortedRange(
int start, int end, [int compare(E a, E b)?]) → Coral< List< E> > -
Available on CoralListElements<
Returns a new list containing a sorted range of elements from this list.E> , provided by the ListComparableCoralElementsExtension extension