1 | static L<S> ai_autoComplete(fS s, final int maxEntries, int timeout) { |
2 | ret (L<S>) evalWithTimeoutOrNull(func { ai_autoComplete_impl(s, maxEntries) }, timeout); |
3 | } |
4 | |
5 | static L<S> ai_autoComplete_impl(S s, int maxEntries) { |
6 | ret takeFirst(maxEntries, fullIndexedTermsStartingWith(s)); |
7 | } |
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: | 438 / 471 |
Version history: | 7 change(s) |
Referenced in: | [show references] |