SortedListExtension<E> extension
- on
-
- List<
E>
- List<
Methods
-
bisectLeft(
E item, {Comparator< E> ? compare, int low = 0, int? high}) → int -
Available on List<
Assuming the list is sorted, locate the insertion point forE> , provided by the SortedListExtension extensionitem
in a to maintain sorted order. -
bisectRight(
E item, {Comparator< E> ? compare, int low = 0, int? high}) → int -
Available on List<
Similar to bisectLeft, but returns an insertion point which comes after (to the right of) any existing entries ofE> , provided by the SortedListExtension extensionitem
in the list. -
bsearch(
E x, {Comparator< E> ? compare, int low = 0, int? high}) → int -
Available on List<
Assuming the list is sorted, locate the leftmost element exactly equal toE> , provided by the SortedListExtension extensionx
. -
bsearchGreaterThan(
E x, {Comparator< E> ? compare}) → int -
Available on List<
Assuming the list is sorted, locate leftmost element greater thanE> , provided by the SortedListExtension extensionx
. -
bsearchGreaterThanOrEqualTo(
E x, {Comparator< E> ? compare}) → int -
Available on List<
Assuming the list is sorted, locate leftmost item greater than or equal toE> , provided by the SortedListExtension extensionx
. -
bsearchLessThan(
E x, {Comparator< E> ? compare}) → int -
Available on List<
Assuming the list is sorted, locate rightmost element less thanE> , provided by the SortedListExtension extensionx
. -
bsearchLessThanOrEqualTo(
E x, {Comparator< E> ? compare}) → int -
Available on List<
Assuming the list is sorted, locate rightmost element less than or equal toE> , provided by the SortedListExtension extensionx
. -
insortLeft(
E item, {Comparator< E> ? compare, int low = 0, int? high}) → void -
Available on List<
Assuming the list is sorted, insertE> , provided by the SortedListExtension extensionitem
in list in sorted order. -
insortRight(
E item, {Comparator< E> ? compare, int low = 0, int? high}) → void -
Available on List<
Similar to insortLeft, but insertingE> , provided by the SortedListExtension extensionitem
in list after any existing entries ofitem
.