Libraryless. Click here for Pure Java version (2325L/15K).
sS tok_dropModifiers(S s) { ret join(tok_dropModifiers(javaTok(s))); } static LS tok_dropModifiers(LS tok) { L<S> mod = getJavaModifiers(); for (int i = 1; i < l(tok); i += 2) if (mod.contains(tok.get(i))) tok.set(i, ""); ret tok; }
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: | #1026717 | 
| Snippet name: | tok_dropModifiers | 
| Eternal ID of this version: | #1026717/3 | 
| Text MD5: | 6b3e28d0831cd435fd78a2f58b6b141e | 
| Transpilation MD5: | a096f1bc50148b82c5032238cbce66f7 | 
| Author: | stefan | 
| Category: | javax / html | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2020-01-19 19:52:37 | 
| Source code size: | 261 bytes / 11 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 395 / 531 | 
| Version history: | 2 change(s) | 
| Referenced in: | [show references] |