static L<S> ai_autoComplete(fS s, final int maxEntries, int timeout) { ret (L<S>) evalWithTimeoutOrNull(func { ai_autoComplete_impl(s, maxEntries) }, timeout); } static L<S> ai_autoComplete_impl(S s, int maxEntries) { ret takeFirst(maxEntries, fullIndexedTermsStartingWith(s)); }
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: | #1012956 |
Snippet name: | ai_autoComplete - returns whole line |
Eternal ID of this version: | #1012956/8 |
Text MD5: | e3363bfc36e35bc20e3c0fd11b3a1d16 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-19 02:04:21 |
Source code size: | 290 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 439 / 471 |
Version history: | 7 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |