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

9
LINES

< > BotCompany Repo | #1014399 // allContainAllCharsIC

JavaX fragment (include)

static bool allContainAllCharsIC(Collection<S> l, S chars) {
  L<Char> charList = charsAsList(upper(chars));
  for (S s : unnull(l)) {
    HashSet<Char> set = asHashSet(charList);
    removeAll(set, charsAsList(upper(s)));
    if (nempty(set)) false;
  }
  true;
}

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: #1014399
Snippet name: allContainAllCharsIC
Eternal ID of this version: #1014399/3
Text MD5: 93ec41a11aab8eb29e09128ba654e0c2
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-21 13:27:00
Source code size: 272 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 335 / 359
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)