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

7
LINES

< > BotCompany Repo | #1025718 // positionalTokenIndex_byTokenAtAnyIndex

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2589L/16K).

static LLS positionalTokenIndex_byTokenAtAnyIndex(PositionalTokenIndex idx, S token) {
  int n = l(idx.sorts);
  new LLS out;
  for i to n:
    addAll(out, idx.byToken(i, token));
  ret out;
}

Author comment

Began life as a copy of #1025694

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1025718
Snippet name: positionalTokenIndex_byTokenAtAnyIndex
Eternal ID of this version: #1025718/1
Text MD5: 5c9989d76fefa647e51293970a1bc562
Transpilation MD5: d2fafbb86efdd45620b9ec0e59cd2eb8
Author: stefan
Category: javax / agi.blue
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-10-14 21:37:52
Source code size: 198 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 108 / 161
Referenced in: [show references]