Libraryless. Click here for Pure Java version (3141L/19K).
static Set<S> collectAngleBracketVars(S s) { ret collectAngleBracketVars(javaTokWithAngleBrackets(s)); } static Set<S> collectAngleBracketVars(LS tok) { Set<S> set = ciSet(); for i over tok: if (isAngleBracketVar(tok.get(i))) set.add(deAngleBracket(tok.get(i))); ret set; }
Began life as a copy of #1017271
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030966 |
Snippet name: | collectAngleBracketVars - drops the brackets |
Eternal ID of this version: | #1030966/3 |
Text MD5: | 27167728e4f5643a9ef5bdb0feb0bbab |
Transpilation MD5: | 70aeb2ac046207e5476ea1ae4e065d37 |
Author: | stefan |
Category: | javax / parsing |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-04-16 16:22:34 |
Source code size: | 302 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 161 / 237 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |