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

9
LINES

< > BotCompany Repo | #1022557 // mechListsWithSingleWords - always scans local copies

JavaX fragment (include)

static LS mechListsWithSingleWords() {
  new LS out;
  for (PairS nameAndText : localMechListCopies_iterator()) {
    ItIt<S> it = tlft_iterator(nameAndText.b);
    if (it.hasNext() && !any containsSpaces(it))
      out.add(nameAndText.a);
  }
  ret out;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1022557
Snippet name: mechListsWithSingleWords - always scans local copies
Eternal ID of this version: #1022557/2
Text MD5: 9695cd0ff1f0db9ec3292185b62cdd12
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-21 11:12:34
Source code size: 264 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 259 / 280
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)