Libraryless. Click here for Pure Java version (3203L/19K).
1 | static Comparator<S> alphaNumComparator_skipCommas() {
|
2 | ret (a, b) -> alphaNumComparator().compare(replace(a, ",", ""), |
3 | replace(b, ",", "")); |
4 | } |
Began life as a copy of #1017303
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
| Snippet ID: | #1032137 |
| Snippet name: | alphaNumComparator_skipCommas (for "1,234") |
| Eternal ID of this version: | #1032137/1 |
| Text MD5: | 863e5a73f1979dd0a73d93c76d1a0de1 |
| Transpilation MD5: | e73840c1fb8e7c428ab1edcfd4ff4272 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-08-14 08:52:09 |
| Source code size: | 153 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 382 / 468 |
| Referenced in: | [show references] |