Transpiled version (34L) is out of date.
1 | static <A extends Comparable<? super A>> int binarySearch_tipToTheLeft(L<A> l, A a) {
|
2 | int i = Collections.binarySearch(l, a); |
3 | ret i < 0 ? -i-2 : i; |
4 | } |
Began life as a copy of #1030116
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
| Snippet ID: | #1036569 |
| Snippet name: | binarySearch_tipToTheLeft - needed? |
| Eternal ID of this version: | #1036569/2 |
| Text MD5: | 54aa11a19f80711b593c1337c9ecef8c |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2023-03-13 19:46:58 |
| Source code size: | 156 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 403 / 506 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |