1 | static LS aggressivelyCollectPossibleComputerIDs_rawList(S s) { |
2 | new LS ids; |
3 | for i over s: { |
4 | int j = i; |
5 | while (j < l(s) && Character.isLowerCase(s.charAt(j))) ++j; |
6 | if (j-i == 12) |
7 | ids.add(substring(s, i, j)); |
8 | i = j; |
9 | } |
10 | ret ids; |
11 | } |
Began life as a copy of #1019728
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020812 |
Snippet name: | aggressivelyCollectPossibleComputerIDs_rawList |
Eternal ID of this version: | #1020812/1 |
Text MD5: | db0c212855612aed996f0d3a9cda7b2e |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-01-03 18:36:31 |
Source code size: | 266 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 276 / 314 |
Referenced in: | [show references] |