+List.binarySearch
This commit is contained in:
sergeych committed 2025-08-24 00:09:38 +03:00
1 parent 0ec0ed96ee
commit dc837e2095
10 files changed
+110 -9

No files matched your search

+1
View File
@@ -95,6 +95,7 @@ These, again, does the thing:
| sortedBy(predicate) | sort by comparing results of the predicate function |
| joinToString(s,t) | convert iterable to string, see (2) |
| reversed() | create a list containing items from this in reverse order |
| shuffled() | create a listof shiffled elements |
(1)
: throws `NoSuchElementException` if there is no such element