1 | static bool allContainAllCharsIC(Collection<S> l, S chars) { |
2 | L<Char> charList = charsAsList(upper(chars)); |
3 | for (S s : unnull(l)) { |
4 | HashSet<Char> set = asHashSet(charList); |
5 | removeAll(set, charsAsList(upper(s))); |
6 | if (nempty(set)) false; |
7 | } |
8 | true; |
9 | } |
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: | 336 / 360 |
Version history: | 2 change(s) |
Referenced in: | [show references] |