Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1030118 // binarySearchResultToInsertionPoint

JavaX fragment (include)

static int binarySearchResultToInsertionPoint(int i) {
  ret i < 0 ? -i-1 : i;
}

Author comment

Began life as a copy of #1030116

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030118
Snippet name: binarySearchResultToInsertionPoint
Eternal ID of this version: #1030118/1
Text MD5: 2b8d3538f8f3638a7187449bed00b15d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-11-09 14:07:42
Source code size: 82 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 209 / 236
Referenced in: [show references]