Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

9
LINES

< > BotCompany Repo | #1012950 // containingAllJavaTokens

JavaX fragment (include)

1  
static L<S> containingAllJavaTokens(Collection<S> l, S... tokens) {
2  
  new L<S> out;
3  
  big: for (S s : unnull(l)) {
4  
    for (S t : tokens)
5  
      if (!containsJavaToken(s, t)) continue big;
6  
    out.add(s);
7  
  }
8  
  ret out;
9  
}

Author comment

Began life as a copy of #1012944

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1012950
Snippet name: containingAllJavaTokens
Eternal ID of this version: #1012950/4
Text MD5: 1ad801a400b88190300dcffeac86ea75
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-18 17:21:56
Source code size: 228 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 387 / 426
Version history: 3 change(s)
Referenced in: [show references]