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

3
LINES

< > BotCompany Repo | #1029550 // compareChars

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (32L/1K).

static int compareChars(CharComparator comp, char a, char b) {
  ret comp == null ? a-b : comp.compare(a, b);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1029550
Snippet name: compareChars
Eternal ID of this version: #1029550/1
Text MD5: 88b0cef8e12b7edc5cdc6872f3941f6f
Transpilation MD5: 4c70b79933ef1378c76dba2435fdc445
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-08-23 10:42:14
Source code size: 113 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 244 / 321
Referenced in: [show references]