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

8
LINES

< > BotCompany Repo | #1023227 // allContainedWordSets

JavaX fragment (include)

1  
static Collection<Set<S>> allContainedWordSets(LS tok, Collection<Set<S>> wordSets) {
2  
  Set<S> words = codeTokensAsCISet(tok);
3  
  ret filter(wordSets, set -> setContainsSet(words, set));
4  
}
5  
6  
static Collection<Set<S>> allContainedWordSets(S s, Collection<Set<S>> wordSets) {
7  
  ret allContainedWordSets(wordTok_noBrackets(s), wordSets);
8  
}

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: #1023227
Snippet name: allContainedWordSets
Eternal ID of this version: #1023227/1
Text MD5: 042db26a076eb0260c73c0dee9866369
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-05-18 13:23:12
Source code size: 341 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 287 / 325
Referenced in: [show references]