Libraryless. Click here for Pure Java version (2373L/15K).
sS tok_dropJavaAndJavaXModifiers(S s) { ret join(tok_dropJavaAndJavaXModifiers(javaTok(s))); } static LS tok_dropJavaAndJavaXModifiers(LS tok) { Set<S> mod = getJavaAndJavaXModifiers(); for (int i = 1; i < l(tok); i += 2) if (mod.contains(tok.get(i))) tok.set(i, ""); ret tok; }
Began life as a copy of #1026717
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: | #1026719 |
Snippet name: | tok_dropJavaAndJavaXModifiers |
Eternal ID of this version: | #1026719/1 |
Text MD5: | 92abb21357b0b9e3ef79f8c779edb12f |
Transpilation MD5: | ddb292ab0538f4109fc487370f3eb05a |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-01-19 19:55:08 |
Source code size: | 307 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 208 / 297 |
Referenced in: | [show references] |