Libraryless. Click here for Pure Java version (32L/1K).
1 | static int compareChars(CharComparator comp, char a, char b) { |
2 | ret comp == null ? a-b : comp.compare(a, b); |
3 | } |
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: | 246 / 325 |
Referenced in: | [show references] |